bash updates

This commit is contained in:
Andrew Davidson 2025-03-04 22:24:05 -08:00
parent ddda43ae98
commit ff1ea2b817
Signed by: amd
SSH key fingerprint: SHA256:bEXCGvHGPU8WP+o0a21VMf/KNEnNKxHz0fe64QX30kg

View file

@ -155,26 +155,20 @@ alias ..="cd .."
# empty the screen (or use C-l)
alias c="clear"
# why wouldn't you want human readable sizes?
alias df="df -h"
# get outta here!
alias e="exit"
# grep shortie
alias g="grep --color=auto -i "
# ls is eza
alias ls="eza"
# shorter ls
alias l="ls -G --color"
alias l="eza"
# list files with details
alias ll="ls -lh --color"
alias ll="eza -lh --git"
# list all files.
alias la="ls -alh --color"
# List directories.
alias ld="ls --color -Gd */"
alias la="eza -lha --git"
# add some color to grep.
alias grep="grep --color=auto"
@ -195,20 +189,6 @@ alias pc='python -ic "from __future__ import division; from math import *"'
alias nano='nano -ciw '
# emacsclient
alias ec="emacsclient -n -c -a emacs"
if [[ HAS_GNOME ]]; then
alias nosleep="gnome-session-inhibit --inhibit-only"
fi
# magic packets to wake up hosts
alias wake_richie="wakeonlan ec:b1:d7:44:91:40"
alias wake_ari="wakeonlan 3c:97:0e:97:32:84 6c:88:14:36:92:b0"
alias wake_uzi="wakeonlan f4:d4:88:7d:6a:e9 34:99:71:d8:a4:48"
# __ _ _
# / _|_ _ _ __ ___| |_(_) ___ _ __ ___
# | |_| | | | '_ \ / __| __| |/ _ \| '_ \/ __|