commit 1c2b62d537a2188b17940bf52a4e7a4b4cbb8244 parent 5bf824f0361d3935ff1f94aa1489291b0c6eb0d3 Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com> Date: Tue, 15 Nov 2022 14:51:52 +0200 Remove unused aliases Diffstat:
| M | .bashrc | | | 51 | --------------------------------------------------- |
1 file changed, 0 insertions(+), 51 deletions(-)
diff --git a/.bashrc b/.bashrc @@ -4,57 +4,6 @@ # Prompt PS1='\[\e[0;91m\][\[\e[0;93m\]\u\[\e[0;32m\]@\[\e[0;38;5;25m\]\h \[\e[0;38;5;250m\]\w\[\e[0;91m\]]\[\e[0m\]$ \[\e[0m\]' -# Load starship prompt if starship is installed -# if [ -x /usr/bin/starship ]; then -# __main() { -# local major="${BASH_VERSINFO[0]}" -# local minor="${BASH_VERSINFO[1]}" -# -# if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then -# source <("/usr/bin/starship" init bash --print-full-init) -# else -# source /dev/stdin <<<"$("/usr/bin/starship" init bash --print-full-init)" -# fi -# } -# __main -# unset -f __main -# fi - -# Aliases -alias dir='dir --color=auto' -alias egrep='egrep --color=auto' -alias fgrep='fgrep --color=auto' -alias fixpacman="sudo rm /var/lib/pacman/db.lck" -alias grep='grep --color=auto' -alias grubup="sudo update-grub" -alias hw='hwinfo --short' -alias psmem10='ps auxf | sort -nr -k 4 | head -10' -alias psmem='ps auxf | sort -nr -k 4' -alias rmpkg="sudo pacman -Rdd" -alias tarnow='tar -acf ' -alias untar='tar -zxvf ' -alias upd='/usr/bin/update' -alias vdir='vdir --color=auto' -alias wget='wget -c ' - -# Help normies -alias apt-get='man pacman' -alias apt='man pacman' -alias helpme='cht.sh --shell' -alias please='sudo' -alias tb='nc termbin.com 9999' - -# Cleanup orphaned packages -alias cleanup='sudo pacman -Rns `pacman -Qtdq`' - -# Get the error messages from journalctl -alias jctl="journalctl -p 3 -xb" - -# Recent installed packages -alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl" - -# Runs when bash is started - # Stop using ugly java font export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=gasp' alias java='java "$_SILENT_JAVA_OPTIONS"'