fgeatures
This commit is contained in:
parent
804b2a3906
commit
bebb88b460
2 changed files with 7 additions and 3 deletions
|
@ -10,13 +10,13 @@ prompt_git_branch() {
|
||||||
}
|
}
|
||||||
|
|
||||||
PS1='\
|
PS1='\
|
||||||
\[\033[30m\]($?) \
|
\[\033[2m\]($?) \
|
||||||
\[\033[0m\]\[\033[1m\]\[\033[36m\]\u\[\033[0m\]\
|
\[\033[0m\]\[\033[1m\]\[\033[36m\]\u\[\033[0m\]\
|
||||||
\[\033[36m\]@\h\[\033[0m\] \
|
\[\033[36m\]@\h\[\033[0m\] \
|
||||||
\[\033[34m\]\w \
|
\[\033[34m\]\w \
|
||||||
\[\033[1m\]\[\033[35m\]$(prompt_git_branch)\[\033[0m\]\
|
\[\033[1m\]\[\033[35m\]$(prompt_git_branch)\[\033[0m\]\
|
||||||
\[\033[30m\][\!] \@\[\033[0m\]\
|
\[\033[2m\][\!] \@\[\033[0m\]\
|
||||||
\n\[\033[30m\]$\[\033[0m\] '
|
\n\[\033[2m\]$\[\033[0m\] '
|
||||||
PROMPT_COMMAND="echo" # Line jump after every command
|
PROMPT_COMMAND="echo" # Line jump after every command
|
||||||
|
|
||||||
# General configs
|
# General configs
|
||||||
|
|
|
@ -31,3 +31,7 @@ history |
|
||||||
sed -z 's/^.*:[0-9]*\s*//g;s/\s*$//g;s/\n//g' |
|
sed -z 's/^.*:[0-9]*\s*//g;s/\s*$//g;s/\n//g' |
|
||||||
xsel -ib
|
xsel -ib
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sshcd() {
|
||||||
|
ssh -t "$1" "cd \"$2\"; exec \$SHELL -l"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue