aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bashrc67
1 files changed, 34 insertions, 33 deletions
diff --git a/bashrc b/bashrc
index df2bc28..5199ef8 100644
--- a/bashrc
+++ b/bashrc
@@ -39,49 +39,50 @@ 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 gitrepos="ssh git@joannalemon.com \"tree -L 2 repositories\""
-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)'"
-alias gloga='git log --oneline --decorate --graph --all'
alias am='append_to_masterlist'
-alias vi='vim'
-alias ls='ls --color=auto'
-alias h='hey_openai'
-alias hd='openai_data'
-alias xclip='xclip -selection c'
-alias notes="cd $HOME/Documents/Notes/"
+alias annex-sync='cd ~/annex/ && git annex sync && cd -'
alias blog="cd ~/code/html/yulqen.org/"
+alias brandom='beet play "$(beet random -p)"'
alias bud="cd ~/Budget/hledger/"
alias getip="curl ifconfig.me"
-alias tprojects="task rc.list.all.projects=1 projects"
-alias tworkprojects='task _unique project|grep "w\."'
+alias gitrepos="ssh git@joannalemon.com \"tree -L 2 repositories\""
+alias gloga='git log --oneline --decorate --graph --all'
+alias hd='openai_data'
+alias h='hey_openai'
+alias _hl_bal_lastmonth='hledger bal --period "this month" --depth 3 Expenses'
+alias hn='curl hkkr.in'
+alias k5days='khal list today 5 days'
+alias khal="$HOME/src/virtualenvs/khal-venv/bin/khal"
+alias khard="$HOME/src/virtualenvs/khal-venv/bin/khard"
+alias ls='ls --color=auto'
+alias mountmusic='sudo sshfs -o IdentityFile=/home/lemon/.ssh/id_ed25519,default_permissions,allow_other lemon@192.168.1.10:/mnt/music /mnt/music'
+alias notesbackup='duplicity --encrypt-key 19014642A9FCD633B886B8F59C9841C3EF4E0B8E ~/Documents/Notes/ sftp://git@joannalemon.com:2222/notesbackup'
+alias notes="cd $HOME/Documents/Notes/"
+alias pacdel="pacman -Qq | fzf --multi --preview 'pacman -Qi {1}' | xargs -ro sudo pacman -Rns"
+alias pacget="pacman -Slq | fzf --multi --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S"
+alias pacpreview="pacman -Qq | fzf --preview 'pacman -Qil {}' --layout=reverse --bind 'enter:execute(pacman -Qil {} | less)'"
+alias qn2firefox='pandoc /home/lemon/Documents/Notes/quicknote.md -o /tmp/quicknote.html && firefox /tmp/quicknote.html'
+alias qnarchive='mkdir /tmp/quicknotes && cp ~/code/html/yulqen.org/content/techjournal/quicknote_capture_* /tmp/quicknotes && cp ~/Documents/Notes/quicknote.md /tmp/quicknotes && tar czf quicknotes.tgz -C /tmp/quicknotes .'
+alias rem1='ssh joannalemon.com rem -c+a1 -w140 -m'
+alias rem2='ssh joannalemon.com rem -c+a2 -w140 -m'
+alias sync-tunnel='ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net'
+alias tcomptoday='task end.after:today-1d completed'
+alias thisweek='khal list today 5days -d google_timebox'
alias thomeprojects='task _unique project|grep "h\."'
-alias ttags="task rc.list.all.tags=1 tags"
alias tkilled="task +killlist list"
-alias ttagged="task tags.any: list"
-alias tuntagged="task tags.none: list"
-alias ttoday="task ml_due_or_scheduled_today"
alias tl="/home/lemon/Documents/Notes/todo/todo.sh list"
+alias tprojects="task rc.list.all.projects=1 projects"
+alias ttagged="task tags.any: list"
+alias ttags="task rc.list.all.tags=1 tags"
alias t="task"
-alias khal="$HOME/src/virtualenvs/khal-venv/bin/khal"
-alias vdirsyncer="$HOME/src/virtualenvs/khal-venv/bin/vdirsyncer"
-# alias khard="$HOME/src/virtualenvs/khal-venv/bin/khard"
-alias thisweek='khal list today 5days -d google_timebox'
-alias tcomptoday='task end.after:today-1d completed'
+alias ttoday="task ml_due_or_scheduled_today"
+alias tuntagged="task tags.none: list"
+alias tworkprojects='task _unique project|grep "w\."'
alias upload_datafile_surgetracker='scp /home/lemon/Documents/Notes/Projects/Surgetracker/resources/master_add_data.csv surge@64.227.37.12:code/surgetracker/datafiles'
-alias rem1='ssh joannalemon.com rem -c+a1 -w140 -m'
-alias rem2='ssh joannalemon.com rem -c+a2 -w140 -m'
+alias vdirsyncer="$HOME/src/virtualenvs/khal-venv/bin/vdirsyncer"
+alias vi='vim'
alias weather='curl wttr.in'
-alias hn='curl hkkr.in'
-alias _hl_bal_lastmonth='hledger bal --period "this month" --depth 3 Expenses'
-alias qnarchive='mkdir /tmp/quicknotes && cp ~/code/html/yulqen.org/content/techjournal/quicknote_capture_* /tmp/quicknotes && cp ~/Documents/Notes/quicknote.md /tmp/quicknotes && tar czf quicknotes.tgz -C /tmp/quicknotes .'
-alias annex-sync='cd ~/annex/ && git annex sync && cd -'
-alias k5days='khal list today 5 days'
-alias brandom='beet play "$(beet random -p)"'
-alias qn2firefox='pandoc /home/lemon/Documents/Notes/quicknote.md -o /tmp/quicknote.html && firefox /tmp/quicknote.html'
-alias sync-tunnel='ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net'
+alias xclip='xclip -selection c'
grepfishhistory () {
grep "$1" ~/.local/share/fish/fish_history |cut -f3- -d' '