From 4f0e04094a64193c8d891c368d63b95edda5aaf5 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Thu, 6 May 2021 13:43:30 +0200 Subject: [PATCH] Add some aliases --- arch-config/.elvish/rc.elv | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch-config/.elvish/rc.elv b/arch-config/.elvish/rc.elv index 94e7d5d1..e0d6a6cc 100644 --- a/arch-config/.elvish/rc.elv +++ b/arch-config/.elvish/rc.elv @@ -29,6 +29,15 @@ fn ls [@a]{ e:ls --color $@a } # emacs in terminal fn emacs [@a]{ /usr/bin/emacs --no-window-system $@a } +# use neovim instead of vim +fn vim [@a]{ /usr/bin/nvim $@a } + +# bash cat +fn cat [@a]{ $E:HOME/scripts/pieces/cat.sh $@a } + +# update config +fn upconf [@a]{ $E:HOME/scripts/arch-config.sh $@a } + ############################## ##### other ##### ##############################