zsh stuff for ssh
This commit is contained in:
parent
826991ff92
commit
b3d133aa28
7
.zshrc
7
.zshrc
@ -25,6 +25,7 @@
|
|||||||
export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$PATH
|
export PATH=$HOME/.local/bin:$HOME/.dotnet/tools:$XDG_DATA_HOME/npm_global/bin:$PATH
|
||||||
|
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
[ -n $SSH_CONNECTION ] && source ~/.profile
|
||||||
|
|
||||||
# Oh my zsh stuff
|
# 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
|
ZSH_CACHE_DIR="$XDG_CACHE_HOME/oh-my-zsh" # mkdir ~/.cache/oh-my-zsh
|
||||||
_Z_DATA="$XDG_CACHE_HOME/z"
|
_Z_DATA="$XDG_CACHE_HOME/z"
|
||||||
|
|
||||||
|
|
||||||
plugins=(
|
plugins=(
|
||||||
git
|
git
|
||||||
last-working-dir
|
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 dotfiles="git --git-dir=$XDG_DATA_HOME/dotfiles-remastered --work-tree=$HOME" # dotfile config --local status.showUntrackedFiles no
|
||||||
alias open="xdg-open"
|
alias open="xdg-open"
|
||||||
alias mixer="pulsemixer"
|
alias mixer="pulsemixer"
|
||||||
alias ssh="TERM=xterm-256color ssh"
|
|
||||||
alias yt-dl-audio="youtube-dl --extract-audio --audio-format mp3"
|
alias yt-dl-audio="youtube-dl --extract-audio --audio-format mp3"
|
||||||
alias rm="trash"
|
alias rm="trash"
|
||||||
alias modx="chmod +x"
|
alias modx="chmod +x"
|
||||||
alias mv="mv -iv"
|
alias mv="mv -iv"
|
||||||
alias cp="cp -riv"
|
alias cp="cp -riv"
|
||||||
alias mkdir="mkdir -pv"
|
alias mkdir="mkdir -pv"
|
||||||
|
alias ssh="TERM=xterm-256color ssh"
|
||||||
|
alias yeet="sudo pacman -Rns"
|
||||||
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user