From 79deef489ad6757c6bf45ca94d59bd709d3874e9 Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Mon, 1 Sep 2025 21:02:21 +0200 Subject: [PATCH] Update .bashrc --- bash/.bashrc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 90fdddb..3f799f7 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -78,7 +78,7 @@ OSH_THEME="robbyrussell" OMB_USE_SUDO=true # To enable/disable display of Python virtualenv and condaenv -# OMB_PROMPT_SHOW_PYTHON_VENV=true # enable +OMB_PROMPT_SHOW_PYTHON_VENV=true # enable # OMB_PROMPT_SHOW_PYTHON_VENV=false # disable # To enable/disable Spack environment information @@ -164,8 +164,17 @@ source "$OSH"/oh-my-bash.sh # Set personal aliases, overriding those provided by oh-my-bash libs, # plugins, and themes. Aliases can be placed here, though oh-my-bash # users are encouraged to define aliases within the OSH_CUSTOM folder. -# For a full list of active aliases, run `alias`. -# -# Example aliases -# alias bashconfig="mate ~/.bashrc" -# alias ohmybash="mate ~/.oh-my-bash" +# For a full list of active aliases, run ` + +alias ls='ls --color=auto --group-directories-first' + +# Replace grep command tool +alias grep='grep --color=auto' +alias egrep='grep -E' +alias fgrep='grep -F' + +# Other aliases +alias paths='echo -e ${PATH//:/\\n}' # path: Echo all executable Paths +alias userlist="cut -d: -f1 /etc/passwd | sort" +alias ip='ip -color' +alias stow='stow -d $DOTFILES '