Add zshrc
This commit is contained in:
parent
e372d73343
commit
9f4115442d
2 changed files with 22 additions and 1 deletions
7
Makefile
7
Makefile
|
|
@ -38,7 +38,9 @@ foot: $(DESTDIR)$(PREFIX)/foot/foot.ini
|
||||||
|
|
||||||
nimmm: $(DESTDIR)$(PREFIX)/nimmm.conf
|
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
|
## Actual file operations
|
||||||
|
|
@ -81,3 +83,6 @@ $(DESTDIR)$(PREFIX)/foot/foot.ini: $(PWD)/foot.ini
|
||||||
|
|
||||||
$(DESTDIR)$(PREFIX)/nimmm.conf: $(PWD)/nimmm.conf
|
$(DESTDIR)$(PREFIX)/nimmm.conf: $(PWD)/nimmm.conf
|
||||||
ln -sf $^ $@
|
ln -sf $^ $@
|
||||||
|
|
||||||
|
$(DESTDIR)/.zshrc: $(PWD)/zshrc
|
||||||
|
ln -sf $^ $@
|
||||||
|
|
|
||||||
16
zshrc
Normal file
16
zshrc
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue