summaryrefslogtreecommitdiff
path: root/shrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-08-10 14:14:02 -0500
committerMarc Coquand <marc@mccd.space>2024-08-10 14:14:02 -0500
commit180f47818d9d739d277618ef9ecd718cda2f35a4 (patch)
tree4b6aff5662c38d0817220ba1cb6001781e420f58 /shrc
parent8bbc8c21c9f79fad95f225f2cec47f4bf59660f2 (diff)
downloadbsd-180f47818d9d739d277618ef9ecd718cda2f35a4.tar.gz
bsd-180f47818d9d739d277618ef9ecd718cda2f35a4.tar.bz2
bsd-180f47818d9d739d277618ef9ecd718cda2f35a4.zip
commits
Diffstat (limited to '')
-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 \$ '