# HG changeset patch # User Steve Losh # Date 1693256353 14400 # Node ID b0aaacce2d6d66ca300fd08ecffc44e6db259b42 # Parent e4489063298c45518ae48dd747e7f0bade92ed25 More diff -r e4489063298c -r b0aaacce2d6d fish/config.fish --- a/fish/config.fish Mon Aug 28 14:47:37 2023 -0400 +++ b/fish/config.fish Mon Aug 28 16:59:13 2023 -0400 @@ -8,7 +8,7 @@ function ei; hg -R ~/src/inventory/ pull -u; and nvim ~/src/inventory/inventory.markdown; and hg -R ~/src/inventory/ ci -m 'Update inventory'; and hg -R ~/src/inventory/ push; end function el; cd ~/Dropbox/life; nvim .; end function em; nvim ~/.mutt/muttrc; end -function es; cd ~/src/stumpwm; nvim ~/.stumpwmrc; end +function es; pushd ~/src/stumpwm; e ~/.stumpwmrc; popd; end function ev; nvim ~/.vimrc; end function eff; nvim ~/.config/fish/functions; end function efh; nvim ~/.local/share/fish/fish_history; end # I have visited https://github.com/fish-shell/fish-shell/issues/862 nine thousand times and I'm fucking sick of opening a web browser to figure out where the fuck fish keeps its equivalent of ~/.bash_history diff -r e4489063298c -r b0aaacce2d6d fish/functions/ez.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/ez.fish Mon Aug 28 16:59:13 2023 -0400 @@ -0,0 +1,8 @@ +function ez -d "Edit Zettelkasten" + pushd ~/src/zk + hg pull -u + e . + hg ci -m 'Update' + hg push + popd +end