Browse Source

changes

master
Inhji Y. 1 year ago
parent
commit
cef5c729a4
2 changed files with 9 additions and 2 deletions
  1. +4
    -1
      config/zsh/aliases.zsh
  2. +5
    -1
      config/zshrc

+ 4
- 1
config/zsh/aliases.zsh View File

@@ -31,4 +31,7 @@ alias phx="iex -S mix phx.server"

# SSH
alias tunnel="ssh -R 4444:localhost:4000 root@inhji.de"
alias inhji="ssh root@inhji.de"
alias inhji="ssh root@inhji.de"

# finds biggest file in current directory
alias ducks="du -hs * | sort -rh | head -5"

+ 5
- 1
config/zshrc View File

@@ -5,7 +5,7 @@ export PATH=$HOME/.local/bin:$HOME/.mix/escripts:/usr/local/go/bin:$HOME/.local/
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='atom'
export EDITOR='subl'
fi

if [[ -d $HOME/.cargo ]]; then
@@ -16,6 +16,10 @@ if [[ -d /home/linuxbrew ]]; then
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
fi

if [[ -f $HOME/.zsh-custom ]]; then
source $HOME/.zsh-custom
fi

fpath=("$HOME/.zfunctions" $fpath)

autoload -U promptinit; promptinit


Loading…
Cancel
Save