diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2018-12-01 17:47:43 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2018-12-01 17:47:43 -0500 |
| commit | 3089a7eaa479a0cb5349a9a294e215b48bba03b7 (patch) | |
| tree | caa5c61f1b8ed824288ce39baacb57352f4b1db9 /.bashrc | |
| parent | 4d7b0a7d410ab91047be13b915413dc555af9dda (diff) | |
| download | eibhear-3089a7eaa479a0cb5349a9a294e215b48bba03b7.tar.gz eibhear-3089a7eaa479a0cb5349a9a294e215b48bba03b7.tar.zst eibhear-3089a7eaa479a0cb5349a9a294e215b48bba03b7.zip | |
bashrc cleanout and color for diff and less/man
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 17 |
1 files changed, 4 insertions, 13 deletions
@@ -33,28 +33,19 @@ alias ka="killall" alias g="git" alias trem="transmission-remote" alias mkd="mkdir -pv" -alias ref="shortcuts.sh && source ~/.bashrc" # Refresh shortcuts manually and reload bashrc +alias ref="shortcuts && 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' -alias grep="grep --color=auto" # Color grep - highlight desired sequence. +alias grep="grep --color=auto" +alias diff="diff --color=auto" alias ccat="highlight --out-format=ansi" # Color cat - print file with syntax highlighting. # Internet alias yt="youtube-dl --add-metadata -ic" # Download video link alias yta="yt -x -f bestaudio/best" # Download only audio alias YT="youtube-viewer" -alias ethspeed="speedometer -r enp0s25" -alias wifispeed="speedometer -r wlp3s0" -alias starwars="telnet towel.blinkenlights.nl" - -# TeX -alias Txa="cp ~/Documents/LaTeX/article.tex" -alias Txs="cp ~/Documents/LaTeX/beamer.tex" -alias Txh="cp ~/Documents/LaTeX/handout.tex" - -source ~/.shortcuts shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;} +vf() { $EDITOR $(fzf) ;} |
