diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-12-14 12:02:24 +0100 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-12-14 12:02:24 +0100 |
commit | 80f1ab46ceaa116c09d8359db44590d4f34e33c5 (patch) | |
tree | f755fb500acb23d33fef3c3d937a6918b5652102 /zshrc | |
parent | update doom.d (diff) | |
download | dotfiles-80f1ab46ceaa116c09d8359db44590d4f34e33c5.tar.gz dotfiles-80f1ab46ceaa116c09d8359db44590d4f34e33c5.tar.bz2 dotfiles-80f1ab46ceaa116c09d8359db44590d4f34e33c5.tar.xz dotfiles-80f1ab46ceaa116c09d8359db44590d4f34e33c5.tar.zst dotfiles-80f1ab46ceaa116c09d8359db44590d4f34e33c5.zip |
add zshrc
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 43 |
1 files changed, 43 insertions, 0 deletions
@@ -0,0 +1,43 @@ +export ZSH="/home/salad/.oh-my-zsh" +PATH="/home/salad/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/salad/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/salad/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/salad/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/salad/perl5"; export PERL_MM_OPT; + +ZSH_THEME="geoffredside" +plugins=(git) + +source $ZSH/oh-my-zsh.sh + +alias vim="nvim" +alias emacs="TERM=xterm-256color emacs -nw" +alias apti="sudo apt-get install" +alias aptu="sudo apt-get update && sudo apt-get upgrade" +alias cfg="nvim ~/.config/bspwm/bspwmrc ~/.config/sxhkd/sxhkdrc ~/.zshrc ~/.config/polybar/config" +alias worldmon="sh ~/.local/share/mon.sh" +alias ls='exa -l' +alias grep='grep -n --color=auto' +alias -g hh="&! ; [[ $? -eq 0 ]] && exit" +alias weather="curl --silent wttr.in/lyon" +alias wttr="curl --silent wttr.in/lyon | head -n 7" +alias mk="make -j5" +alias ma="make asan -j5" +alias mkr="make run -j5" +alias mar="make asan run -j5" +alias mkf="make fclean" +alias norminette="~/.norminette/norminette.rb" +alias cp='/bin/cp -iv' +alias mv='/bin/mv -iv' +alias rm='/bin/rm -v' +alias ln='/bin/ln -v' +alias mkdir='/bin/mkdir -v' +alias rmdir='/bin/rmdir -v' +alias chmod='/bin/chmod -v' +alias chown='/usr/sbin/chown -v' +alias grep='/usr/bin/grep --color' +alias srcnt="find . -type f -name '*.c' -exec cat {} \; | sed '/^\//d' | sed '/^\*/d' | sed '/^ \*/d' | sed '/^\/\//d' | sed '/^$/d' | wc -l" +alias tohex='printf "%x\n"' +alias gl="git log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d %C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all" +alias IP="curl ifconfig.me" +alias poweroff="sudo poweroff" |