summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Abbott <otg@gabbott.dev>2023-01-28 00:42:39 +0000
committerGeorge Abbott <otg@gabbott.dev>2023-01-28 00:42:39 +0000
commitc11a90cf428cca744470a3f494d599a0ee47afc0 (patch)
tree620d0b466dca5bbc1d720210c9c562995ee8fe28
parentc238be4bded45592d74478818600129790789892 (diff)
enable vi mode + some aliases
-rw-r--r--kshrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/kshrc b/kshrc
index 3aca422..cfc84ca 100644
--- a/kshrc
+++ b/kshrc
@@ -3,7 +3,18 @@
# Set the PS1
PS1='${USER}: ${PWD} > '
+# Configuration
+set -o vi # Enable vi mode.
+
alias ll="ls -Ahl"
alias l="ls -lh"
alias vim="nvim"
alias v="nvim"
+alias ka="killall"
+
+# cd aliases: to do, make cd aliases a part of orgd
+alias cdgit="cd $HOME/git"
+alias cddfgit="cd $HOME/dfgit" # until this is merged in with ~/git
+alias cdwr="cd $HOME/docs/wr"
+
+