summaryrefslogtreecommitdiff
path: root/shrc
diff options
context:
space:
mode:
Diffstat (limited to 'shrc')
-rw-r--r--shrc16
1 files changed, 11 insertions, 5 deletions
diff --git a/shrc b/shrc
index af7ee47..bf6ca78 100644
--- a/shrc
+++ b/shrc
@@ -1,7 +1,8 @@
# # be paranoid
# alias cp='cp -ip'
# alias mv='mv -i'
- alias rm='rm -i'
+alias rm='rm -i'
+alias restart-wifi="doas service netif restart"
# # csh like history on arrow up and down
bind ^[[A ed-search-prev-history
@@ -21,9 +22,14 @@ alias e="$EDITOR"
alias g="git"
alias grep="ugrep"
alias tldr="NO_COLOR=1 tldr"
-alias fd="find . -name $1"
-alias f-commit="fossil commit && fossil git export"
-alias jrnl='stitch -t :journal:'
+alias fd="find . -name $1*"
+alias dedoc="dedoc --color off"
+alias doc="dedoc --color off search"
+
+
+notes() {
+ grep -i "$1" --format='%f%~' ~/notes/ | xargs -I {} cat {}
+}
eval "$(opam env)"
@@ -33,6 +39,6 @@ set -o vi
eval "$(zoxide init posix --hook prompt)"
-PS1='\W \$ '
+export PS1='\W \$ '