27 lines
766 B
Plaintext
27 lines
766 B
Plaintext
# Aliases
|
||
alias ls="ls --color=auto"
|
||
# Show all the things when using gcc
|
||
alias gcc="gcc -Wall"
|
||
|
||
# Keybinds
|
||
# ^L clears screen (by default only ^[^L)
|
||
bind ^L=clear-screen
|
||
|
||
# Prompt
|
||
|
||
# Prompt colour strings. To save typing them out every time I want to use them!
|
||
export text_black='[30m'
|
||
export text_red='[31m'
|
||
export text_green='[32m'
|
||
export text_brown='[33m'
|
||
export text_blue='[34m'
|
||
export text_purple='[35m'
|
||
export text_cyan='[36m'
|
||
export text_white='[37m'
|
||
export end_format='[0m'
|
||
|
||
# PS1="${text_brown}$(get_username)@$(get_hostname)${end_format} $(get_cwd) % "
|
||
# PS1="^[31m${USER:=$(id -un)}""@${HOSTNAME:=$(hostname)} "\$PWD" % "
|
||
# PS1="[31mhi[0m"
|
||
PS1="${text_brown}${USER:=$(id -un)}@${HOSTNAME:=$(hostname)}${end_format} \${PWD/\/home\/cren/\~} % "
|