summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-04-24 07:12:15 +0300
committerPaul Buetow <paul@buetow.org>2025-04-24 07:12:15 +0300
commit519cb1fe507511db24475b89475548c9ede2e4d3 (patch)
treefd35f50ecc7cffa8bc10b6105dcbe357876d9a46
parent20c26eacc4ea35ff04526ec4fadde1516cf12726 (diff)
use e
-rw-r--r--dotfiles/fish/conf.d/quickedit.fish12
1 files changed, 6 insertions, 6 deletions
diff --git a/dotfiles/fish/conf.d/quickedit.fish b/dotfiles/fish/conf.d/quickedit.fish
index c805bee..db414d2 100644
--- a/dotfiles/fish/conf.d/quickedit.fish
+++ b/dotfiles/fish/conf.d/quickedit.fish
@@ -15,8 +15,10 @@ function quickedit::postaction
if test $status -eq 0
cd $git_dir
end
- if not $make_run -eq 1 -a test -f Makefile
- make
+ if not test $make_run -eq 1
+ if test -f Makefile
+ make
+ end
end
if test -d .git
git commit -a -m Update
@@ -41,8 +43,6 @@ function quickedit
cd $prev_dir
end
-
abbr -a cdquickedit "cd $QUICKEDIT_DIR"
-abbr -a ,qe quickedit
-abbr -a ,ne quickedit
-abbr -a ,qr "ranger $QUICKEDIT_DIR"
+abbr -a e quickedit
+abbr -a er "ranger $QUICKEDIT_DIR"