diff --git a/shell/bashrc b/shell/bashrc index 734d6c3..c512059 100644 --- a/shell/bashrc +++ b/shell/bashrc @@ -10,13 +10,13 @@ prompt_git_branch() { } PS1='\ -\[\033[30m\]($?) \ +\[\033[2m\]($?) \ \[\033[0m\]\[\033[1m\]\[\033[36m\]\u\[\033[0m\]\ \[\033[36m\]@\h\[\033[0m\] \ \[\033[34m\]\w \ \[\033[1m\]\[\033[35m\]$(prompt_git_branch)\[\033[0m\]\ -\[\033[30m\][\!] \@\[\033[0m\]\ -\n\[\033[30m\]$\[\033[0m\] ' +\[\033[2m\][\!] \@\[\033[0m\]\ +\n\[\033[2m\]$\[\033[0m\] ' PROMPT_COMMAND="echo" # Line jump after every command # General configs diff --git a/shell/functions b/shell/functions index 2ceb8ec..cc8e28b 100644 --- a/shell/functions +++ b/shell/functions @@ -31,3 +31,7 @@ history | sed -z 's/^.*:[0-9]*\s*//g;s/\s*$//g;s/\n//g' | xsel -ib } + +sshcd() { + ssh -t "$1" "cd \"$2\"; exec \$SHELL -l" +}