update
This commit is contained in:
10
.zshrc
10
.zshrc
@@ -1,9 +1,10 @@
|
||||
##### ENVIRONMENT
|
||||
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/bin/core_perl:/home/felix/bin
|
||||
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
export EDITOR='code'
|
||||
export GIT_EDITOR='code'
|
||||
export EDITOR='vim'
|
||||
export GIT_EDITOR='vim'
|
||||
export PAGER='most'
|
||||
export SHELL="/bin/zsh"
|
||||
export TERM=xterm
|
||||
@@ -11,6 +12,7 @@ export BROWSER='/usr/bin/google-chrome-stable'
|
||||
|
||||
export ANDROID_SDK_ROOT=/opt/android-sdk
|
||||
export PATH=$PATH:/opt/android-sdk/platform-tools:/opt/android-sdk/tools
|
||||
export PATH=$PATH:~/.platformio/penv/bin
|
||||
|
||||
# colors for less without compiled termcap files (curses feature)
|
||||
export LESS_TERMCAP_mb=$'\e[01;31m'
|
||||
@@ -216,10 +218,14 @@ source ~/.zsh/git-prompt/loader.sh
|
||||
# stuff for development (e.g. nvm)
|
||||
if [ "$(hostname)" = "t480" ]; then
|
||||
# source ~/.zsh/dev-machine.zsh
|
||||
# export NVM_DIR=~/.nvm
|
||||
# sh $NVM_DIR/nvm.sh
|
||||
# underline hostname
|
||||
PROMPT='%* %B%{[0;36m%}%n%{[0;34m%}@%U%m%u %{[0;33m%}%~%b $(git_super_status) %# '
|
||||
fi
|
||||
|
||||
source <(kubectl completion zsh)
|
||||
|
||||
if [ -z "$DISPLAY" -a $XDG_VTNR -eq 1 ]; then
|
||||
startx
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user