diff options
-rw-r--r-- | .bashrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -58,11 +58,18 @@ test "$(ack --version | head -n1 | sed 's|^ack\s\([0-9]\+\).*|\1|')" -ge 2 \ # ^X goes in to the way of vim's omnicompletion stty stop ^P +# almost canonical aliases (man pages, etc.) +alias r="fc -s" + # op(t)inioned commands alias tree='tree -a' alias mc='LESS="-RSX" mc' alias tmux='tmux -2' alias acka='$ACK --follow' +alias fname='find -name' +alias mk='make -j$( \ + nproc --ignore=1 2>/dev/null \ + || sed "s|.*\([0-9]\+\)$|\1|" /sys/devices/system/cpu/online; )' # internal, debug, etc. alias hist-del-last='history -d $(history 1 | cut -d" " -f2)' # historical NOOP |