From 3089a7eaa479a0cb5349a9a294e215b48bba03b7 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 1 Dec 2018 17:47:43 -0500 Subject: bashrc cleanout and color for diff and less/man --- .bashrc | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index ff09632..cb33499 100644 --- a/.bashrc +++ b/.bashrc @@ -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) ;} -- cgit v1.3.1