aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-01-31 19:37:19 +0000
committerMatthew Lemon <y@yulqen.org>2024-01-31 19:37:19 +0000
commitf4568bd0e2693ee9fcc9fb27895630f93266c921 (patch)
treecd8d9ad7b7dce384d3122356cb813a9d09c781aa
parentf96dfc9be1f8427d4ac79eef1191b615e713a92b (diff)
Adds alias for backing up notes directory with duplicity
-rw-r--r--bashrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 2f0d65b..8e0c23f 100644
--- a/bashrc
+++ b/bashrc
@@ -40,6 +40,7 @@ source $HOME/Documents/sync/openai_key
#eval "$(beet completion)"
# aliases
+alias notesbackup='duplicity --encrypt-key 19014642A9FCD633B886B8F59C9841C3EF4E0B8E Documents/Notes/ sftp://git@joannalemon.com:2222/notesbackup'
alias pacget="pacman -Slq | fzf --multi --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
alias pacdel="pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Rns"
alias pacpreview="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'"