diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-08-03 23:23:43 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-08-03 23:23:43 -0400 |
| commit | 3a99b9d33b94b664a932edeccf0a8407bddbca8c (patch) | |
| tree | 9c9f0495de99638c8b8a73286000ef62f3258e6a /.bashrc | |
| parent | 1ef14ad347f825b41e04ddb2d71c8ea252cc6eba (diff) | |
| download | eibhear-3a99b9d33b94b664a932edeccf0a8407bddbca8c.tar.gz eibhear-3a99b9d33b94b664a932edeccf0a8407bddbca8c.tar.zst eibhear-3a99b9d33b94b664a932edeccf0a8407bddbca8c.zip | |
minor bash additions
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -8,6 +8,8 @@ if [ "$EUID" -ne 0 ] else export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]ROOT\[$(tput setaf 2)\]@\[$(tput setaf 4)\]$(hostname | awk '{print toupper($0)}') \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" fi +export GPG_TTY=$(tty) + # System Maintainence alias mw="~/.config/mutt/mutt-wizard.sh" alias muttwizard="~/.config/mutt/mutt-wizard.sh" @@ -30,6 +32,7 @@ alias mkd="mkdir -pv" alias rf="source ~/.bashrc" alias ref="shortcuts.sh && source ~/.bashrc" # Refresh shortcuts manually and reload bashrc alias bw="wal -i ~/.config/wall.png" # Rerun pywal +alias pi="bash ~/.larbs/wizard/wizard.sh" # Adding color alias ls='ls -hN --color=auto --group-directories-first' @@ -51,3 +54,5 @@ alias Txh="cp ~/Documents/LaTeX/handout.tex" alias TC='texclear' source ~/.shortcuts + +shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;} |
