b0aaacce2d6d

More
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 28 Aug 2023 16:59:13 -0400
parents e4489063298c
children 619b0d73e6ae
branches/tags (none)
files fish/config.fish fish/functions/ez.fish

Changes

--- 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
--- /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