You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
966 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '
export EDITOR=vim
export VISUAL=vim
alias dotfile='/usr/bin/git --git-dir=/home/vmware/dotfiles/ --work-tree=/home/vmware'
export TERM=alacritty
alias cat="$(which bat) --plain --color always --decorations auto --paging always --pager 'less -RF'"
alias ls="$(which exa) -l -F --color=auto --color-scale --all --group-directories-first --binary --group --header --links --modified --git --extended"
alias find="$(which fd) -H --no-ignore --ignore-case --regex --follow --color auto"
alias ps="$(which procs)"
alias htop="$(which btm) --basic --celsius --color default --current_usage --group"
alias top="$(which btm) --basic --celsius --color default --current_usage --group"
alias grep="$(which rg) --ignore-case --color auto --crlf --follow --hidden --no-config --no-ignore"
alias nsxiv="$(which nsxiv) -a -p -r"
export PATH="$HOME/.local/bin:$PATH"