zsh stuff for ssh

This commit is contained in:
Niklas 2021-02-26 16:11:35 +01:00
parent 826991ff92
commit b3d133aa28

7
.zshrc
View File

@ -25,6 +25,7 @@
export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$PATH
[[ $- != *i* ]] && return
[ -n $SSH_CONNECTION ] && source ~/.profile
# Oh my zsh stuff
@ -60,6 +61,7 @@ DISABLE_AUTO_UPDATE=true
ZSH_CACHE_DIR="$XDG_CACHE_HOME/oh-my-zsh" # mkdir ~/.cache/oh-my-zsh
_Z_DATA="$XDG_CACHE_HOME/z"
plugins=(
git
last-working-dir
@ -104,11 +106,12 @@ alias mixer='ncpamixer'
alias dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfile config --local status.showUntrackedFiles no
alias open="xdg-open"
alias mixer="pulsemixer"
alias ssh="TERM=xterm-256color ssh"
alias yt-dl-audio="youtube-dl --extract-audio --audio-format mp3"
alias rm="trash"
alias modx="chmod +x"
alias mv="mv -iv"
alias cp="cp -riv"
alias mkdir="mkdir -pv"
alias ssh="TERM=xterm-256color ssh"
alias yeet="sudo pacman -Rns"
`