Skip to content

Commit

Permalink
shell/aliases: Add colors to 'i', use awk for printing columns
Browse files Browse the repository at this point in the history
  • Loading branch information
JIghtuse committed Feb 1, 2017
1 parent 05b740d commit ef4021f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/.config/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ alias gt='gdb -tui -nh'
alias ct='cgdb -nh'
alias py='python3' # I often mistype it as pytohn, so let's not type it at all
alias ipy='ipython3'
alias i="ip -4 -o a|tr -s ' '|cut -d ' ' -f2,4|column -t"
alias i="ip -o -4 -c a| awk 'BEGIN {OFS = \"\t\"} {print \$2, \$4}'"
alias tldr='man -s tldr'
alias g="g++ -Wall -Wextra -Weffc++ -std=c++1z -O2"
alias dmd='dmd -de -w -unittest'
Expand Down

0 comments on commit ef4021f

Please sign in to comment.