add fish for nix conf
This commit is contained in:
parent
639a9e25fb
commit
f52eaa1ce4
2 changed files with 12 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -22,7 +22,7 @@ srcfile: $(DESTDIR)/src/.srcfile
|
||||||
|
|
||||||
st: $(DESTDIR)/src/st/config.h
|
st: $(DESTDIR)/src/st/config.h
|
||||||
|
|
||||||
.PHONY: fish i3 i3status vis Xresources bspwm sxhkd fontconfig srcfile st
|
.PHONY: fish i3 i3status vis Xresources fontconfig srcfile st
|
||||||
|
|
||||||
|
|
||||||
## Actual file operations
|
## Actual file operations
|
||||||
|
|
@ -30,7 +30,7 @@ st: $(DESTDIR)/src/st/config.h
|
||||||
$(DESTDIR)/src/st/config.h: $(PWD)/st/config.h
|
$(DESTDIR)/src/st/config.h: $(PWD)/st/config.h
|
||||||
ln -sf $^ $@
|
ln -sf $^ $@
|
||||||
|
|
||||||
$(DESTDIR)$(PREFIX)/fish/config.fish: $(PWD)/fish/config.fish
|
$(DESTDIR)$(PREFIX)/fish/config.fish: $(PWD)/fish/nix.fish
|
||||||
ln -sf $^ $@
|
ln -sf $^ $@
|
||||||
|
|
||||||
$(DESTDIR)$(PREFIX)/i3/config: $(PWD)/i3/config
|
$(DESTDIR)$(PREFIX)/i3/config: $(PWD)/i3/config
|
||||||
|
|
|
||||||
10
fish/nix.fish
Normal file
10
fish/nix.fish
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# set -gx EDITOR vis
|
||||||
|
|
||||||
|
# Nice aliases
|
||||||
|
alias m='nimmm'
|
||||||
|
alias gs='git status'
|
||||||
|
alias gp='git pull'
|
||||||
|
# alias e='emacs & ; disown'
|
||||||
|
|
||||||
|
# opam configuration
|
||||||
|
# source /home/joachim/.opam/opam-init/init.fish > /dev/null 2> /dev/null; or true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue