aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc27
1 files changed, 14 insertions, 13 deletions
diff --git a/bashrc b/bashrc
index 9bb5b48..5e7615d 100644
--- a/bashrc
+++ b/bashrc
@@ -83,50 +83,50 @@ set -o noclobber
#eval "$(beet completion)"
# aliases
-alias c='printf "\e[H\e[2J"'
-alias xterm-blue='xterm -bg Dark\ Slate\ Blue -fg white -fa -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-*'
-alias notetasks='find $HOME/Documents/Notes -type f -iname 'tasks.md' -print0 | xargs -0 batcat'
-alias xterm-lastmiles='xterm -bg black -fg white -fa terminus'
-alias bglist='borg list ssh://u423613@u423613.your-storagebox.de:23/./backups/matt_desktop'
-alias temp='cd $(mktemp -d)'
alias am='append_to_masterlist'
alias annex-sync='cd ~/annex/ && git annex sync && cd -'
+alias bglist='borg list ssh://u423613@u423613.your-storagebox.de:23/./backups/matt_desktop'
alias blog="cd ~/code/html/yulqen.org/"
alias brandom='beet play "$(beet random -p)"'
alias bud="cd ~/Budget/hledger/"
+alias c='printf "\e[H\e[2J"'
+alias dot="cd $DOTFILES_DIR"
alias emacsclient="emacsclient -c &"
alias getip="curl ifconfig.me"
alias gitrepos="ssh git@joannalemon.com \"tree -L 2 repositories\""
alias gloga='git log --oneline --decorate --graph --all'
-alias dot="cd $DOTFILES_DIR"
alias _hl_bal_lastmonth='hledger bal --period "this month" --depth 3 Expenses'
+alias jrnl="/home/lemon/src/virtualenvs/jrnl/bin/jrnl"
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 jrnl="/home/lemon/src/virtualenvs/jrnl/bin/jrnl"
-alias ls="ls --color=auto"
alias ll="ls -larth" # sort by modified
+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 notetasks='find $HOME/Documents/Notes -type f -iname 'tasks.md' -print0 | xargs -0 batcat'
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 sync-tunnel='ssh -N -L 9090:127.0.0.1:8384 syncthing@syncthing-ct.banded-neon.ts.net'
+alias quickqr=“qrencode -t ansiutf8 $1”
+alias rnr=read_and_review
alias ststatus='curl -X GET -H "X-API-Key:giuDMYqvFhM2G5ziuFFXLEpC5SjdpgzF" http://localhost:8384/rest/db/status?folder=eahtt-9qkuk|jq'
+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 temp='cd $(mktemp -d)'
alias thisweek='khal list today 5days -d google_timebox'
alias thomeprojects='task _unique project|grep "h\."'
alias tkilled="task +killlist list"
alias tl="/home/lemon/Documents/Notes/todo/todo.sh list"
+alias to="todo.sh"
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="todo.sh"
-alias to="todo.sh"
alias ttoday="task ml_due_or_scheduled_today"
+alias t="todo.sh"
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'
@@ -134,7 +134,8 @@ alias vdirsyncer="$HOME/src/virtualenvs/khal-venv/bin/vdirsyncer"
alias vi='vim'
alias weather='curl wttr.in'
alias xclip='xclip -selection c'
-alias rnr=read_and_review
+alias xterm-blue='xterm -bg Dark\ Slate\ Blue -fg white -fa -*-fixed-*-*-*-*-20-*-*-*-*-*-iso8859-*'
+alias xterm-lastmiles='xterm -bg black -fg white -fa terminus'
grepfishhistory () {
grep "$1" ~/.local/share/fish/fish_history |cut -f3- -d' '