bin: update shortcuts

This commit is contained in:
xeruf 2023-01-03 22:35:46 +01:00
parent 8a8f31219e
commit 99470780ca
4 changed files with 6 additions and 3 deletions

View File

@ -9,7 +9,7 @@ snapinstall() {
} }
alias aptupdate='sudo apt-get update' alias aptupdate='sudo apt-get update'
alias aptremove='sudo apt-get remove' alias aptremove='sudo apt-get remove --autoremove'
alias aptpurge='sudo apt-get purge --autoremove' alias aptpurge='sudo apt-get purge --autoremove'
alias aptclean='sudo apt-get clean && sudo apt-get autoremove' alias aptclean='sudo apt-get clean && sudo apt-get autoremove'
upgrade() { upgrade() {

View File

@ -4,10 +4,9 @@ command -v notify-send >/dev/null &&
if which jrnl >/dev/null; then if which jrnl >/dev/null; then
alias j='jrnl' alias j='jrnl'
jn() { jrnl -to today "$@" | less +G; } jn() { jrnl -to today "$@" | less --exit-follow-on-close +F; }
alias jnc='jn -contains' alias jnc='jn -contains'
alias jne='jrnl --edit' alias jne='jrnl --edit'
# TODO jump to end
fi fi
test "$DISPLAY" || return 0 test "$DISPLAY" || return 0

2
.local/bin/scripts/git-grab Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
curl --location $1.patch | git am

2
.local/bin/scripts/nomedia Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
find -type d -exec touch {}/.nomedia \;