miscellaneous modifications
This commit is contained in:
parent
d7251d1be5
commit
d693610b79
|
|
@ -4,9 +4,9 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# ls aliases
|
# ls aliases
|
||||||
alias l='ls -l'
|
alias ll='ls -la'
|
||||||
alias lla='ls -htlr -A'
|
alias lla='ls -htlr -A'
|
||||||
alias la='ls -la'
|
alias l='ls -l'
|
||||||
|
|
||||||
# change directory
|
# change directory
|
||||||
alias ..='cd ..'
|
alias ..='cd ..'
|
||||||
|
|
@ -62,3 +62,4 @@ alias pssh='parallel-ssh'
|
||||||
# switch to root with sudo but preserve your user-settings
|
# switch to root with sudo but preserve your user-settings
|
||||||
alias sudei='sudo -Ei'
|
alias sudei='sudo -Ei'
|
||||||
alias svim='sudo -E vim'
|
alias svim='sudo -E vim'
|
||||||
|
alias telnet='echo use the curl method'
|
||||||
|
|
|
||||||
2
.bashrc
2
.bashrc
|
|
@ -74,7 +74,7 @@ else
|
||||||
PS_COLOR="\[\033[33m\]"
|
PS_COLOR="\[\033[33m\]"
|
||||||
fi
|
fi
|
||||||
#PS1="\t ${PS_COLOR}${debian_chroot:+($debian_chroot)}\u\[\033[0m\]@\h:\w\$ "
|
#PS1="\t ${PS_COLOR}${debian_chroot:+($debian_chroot)}\u\[\033[0m\]@\h:\w\$ "
|
||||||
export PS1="\t \[$(tput sgr0)\]\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;87m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\]:\\$ \[$(tput sgr0)\]"
|
export PS1="\t \[$(tput sgr0)\]\[\033[38;5;11m\]\u\[$(tput sgr0)\]\[\033[38;5;15m\]@\h:\[$(tput sgr0)\]\[\033[38;5;87m\]\w\[$(tput sgr0)\]\[\033[38;5;15m\] \n\\$ \[$(tput sgr0)\]"
|
||||||
|
|
||||||
# if this is an xterm modify the title
|
# if this is an xterm modify the title
|
||||||
case $TERM in
|
case $TERM in
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user