bashrc: update `qn` alias, escape command substitution
Prithu Goswami pg@prithu.dev
Tue, 12 Mar 2024 08:28:00 +0530
1 files changed,
3 insertions(+),
4 deletions(-)
jump to
M
home/.bashrc
→
home/.bashrc
@@ -78,7 +78,7 @@
alias es="vim +$ '+norm zz' $HOME/docs/org/snippets.md" alias eb="vim $HOME/docs/org/bookmarks/index.md" alias eo="vim $HOME/docs/org/" -alias en="vim $HOME/docs/org/notes/" +alias en="vim $HOME/docs/org/2-notes/" alias colemak="setxkbmap -layout 'us,in' -variant colemak, -option 'grp:shifts_toggle' -option 'ctrl:nocaps'" alias qwerty="setxkbmap -layout 'us,in' -option 'grp:shifts_toggle' -option 'ctrl:nocaps'" alias cfi="vim ~/.config/i3/config"@@ -95,14 +95,13 @@ alias tmux="tmux -u"
alias ch="ping 8.8.8.8" alias yv="youtube-viewer" alias mkddir="mkdir `date +%d-%m-%Y`" -alias thot="vim ~/docs/org/thoughts/`date +%s`" -alias qn="cd ~/docs/org/notes/quick/ && vim ` date +%Y-%m-%d-%H%M`.md" +alias qn="vim ~/docs/org/0-inbox/\$(date +%Y-%m-%d-%H%M).md" alias tt="transmission-remote" # alias yw="mpv --ytdl-format=\"best[height<=480]\"" alias yw="mpv --ytdl-format=\"bestvideo[height<=480]+bestaudio/best[height<=480]\"" alias yal="mpv --ytdl-format=251" alias tmuxl="tmux list-session" -alias rl="gpg -d ~/docs/org/lifelog/ll.gpg | sed 's/\t/ │ /' | less" +alias rl="gpg --quiet -d ~/docs/org/lifelog/ll.gpg | sed 's/\t/ │ /' | less" alias tb="nc termbin.com 9999" alias tl="curl -s https://api.kraken.com/0/public/Ticker?pair=XBTUSD | jq -r '.result.XXBTZUSD.c[0]' | cut -d. -f1" alias tf="terraform"