update to zshrc
This commit is contained in:
parent
8efbfd0164
commit
e558af8fdf
1 changed files with 10 additions and 14 deletions
24
.zshrc
24
.zshrc
|
@ -25,20 +25,6 @@ export GOPATH="$HOME/.gobrew/gopath"
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||||
|
|
||||||
|
|
||||||
##################
|
|
||||||
mkdir -p .config-backup && \
|
|
||||||
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
|
|
||||||
xargs -I{} mv {} .config-backup/{}# Aliase #
|
|
||||||
##################
|
|
||||||
alias ll="ls -al"
|
|
||||||
alias vim="nvim"
|
|
||||||
alias update="sudo apt update && sudo apt upgrade -y && flatpak update -y"
|
|
||||||
alias alacritty="env -u WAYLAND_DISPLAY alacritty"
|
|
||||||
alias config='/usr/bin/git --git-dir=/home/zenn/.cfg/ --work-tree=/home/zenn'
|
|
||||||
alias config-fix='mkdir -p .config-backup && config checkout 2>&1 | egrep "\s+\." | awk {"print $1"} | xargs -I{} mv {} .config-backup/{}'
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# Source #
|
# Source #
|
||||||
##################
|
##################
|
||||||
|
@ -47,6 +33,16 @@ source $HOME/.cargo/env
|
||||||
eval "$(pyenv init --path)"
|
eval "$(pyenv init --path)"
|
||||||
eval "$(pyenv init -)"
|
eval "$(pyenv init -)"
|
||||||
|
|
||||||
|
##################
|
||||||
|
# Aliase #
|
||||||
|
##################
|
||||||
|
alias ll="ls -al"
|
||||||
|
alias vim="nvim"
|
||||||
|
alias update="sudo apt update && sudo apt upgrade -y && flatpak update -y"
|
||||||
|
alias alacritty="env -u WAYLAND_DISPLAY alacritty"
|
||||||
|
alias config='/usr/bin/git --git-dir=/home/zenn/.cfg/ --work-tree=/home/zenn'
|
||||||
|
alias config-fix='mkdir -p .config-backup && config checkout 2>&1 | egrep "\s+\." | awk {"print $1"} | xargs -I{} mv {} .config-backup/{}'
|
||||||
|
|
||||||
###################
|
###################
|
||||||
# Start Scripts #
|
# Start Scripts #
|
||||||
###################
|
###################
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue