summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--zshrc43
1 files changed, 43 insertions, 0 deletions
diff --git a/zshrc b/zshrc
new file mode 100644
index 0000000..1af8766
--- /dev/null
+++ b/zshrc
@@ -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"