diff --git a/Makefile b/Makefile index b455889..c701348 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,9 @@ foot: $(DESTDIR)$(PREFIX)/foot/foot.ini nimmm: $(DESTDIR)$(PREFIX)/nimmm.conf -.PHONY: fish i3 i3status vis Xresources fontconfig srcfile gitconfig zls alacritty sway emacs gtk mpd foot +zshrc: $(DESTDIR)/.zshrc + +.PHONY: fish i3 i3status vis Xresources fontconfig srcfile gitconfig zls alacritty sway emacs gtk mpd foot nimmm zshrc ## Actual file operations @@ -81,3 +83,6 @@ $(DESTDIR)$(PREFIX)/foot/foot.ini: $(PWD)/foot.ini $(DESTDIR)$(PREFIX)/nimmm.conf: $(PWD)/nimmm.conf ln -sf $^ $@ + +$(DESTDIR)/.zshrc: $(PWD)/zshrc + ln -sf $^ $@ diff --git a/zshrc b/zshrc new file mode 100644 index 0000000..80bc334 --- /dev/null +++ b/zshrc @@ -0,0 +1,16 @@ +#!/usr/bin/env zsh + +# Git aliases +alias gs="git status" +alias gp="git pull" +alias gd="git diff" +alias gc="git commit" +alias gsm="git switch master || git switch main || git switch trunk" +alias gfo="git fetch origin" + +launch() { + $@ & ; disown ; exit +} + +path+=("$HOME/src/zig/build/stage3/bin") +export PATH