24 lines
681 B
Bash
24 lines
681 B
Bash
# Aliases
|
|
alias dc="docker-compose"
|
|
alias node0="ssh root@104.248.138.85"
|
|
alias node1="ssh root@104.248.240.59"
|
|
alias node3="ssh root@104.248.35.86"
|
|
alias vtop="vtop --theme brew"
|
|
|
|
# Check if running in TTY
|
|
case $(tty) in
|
|
/dev/tty[2-9])
|
|
export TERM="xterm";
|
|
ZSH_THEME="dpoggi"; source $ZSHCONF/resources/dpoggi-timestamp.zsh-theme;
|
|
;;
|
|
/dev/pts/*)
|
|
export TERM="xterm-256color";
|
|
ZSH_THEME="powerlevel9k/powerlevel9k"; source $ZSHCONF/resources/powerlevel9k/powerlevel9k.zsh-theme;
|
|
#ZSH_THEME="spaceship"; source $ZSHCONF/resources/spaceship-prompt/spaceship.zsh-theme;
|
|
neofetch
|
|
;;
|
|
*)
|
|
echo "We did not recognize the terminal type you are currently using!"
|
|
;;
|
|
esac
|