From 1fb89b3237d4d7e9a16e189fb4d43e06557e2cec Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 25 Nov 2022 18:45:06 -0500 Subject: A few small but useful additions from a newly set up env - Show name of current Debian chroot in prompt if we're in one. - More friendly less for non-textual files. - More useful ls aliases. - An alert alias to show notification after a long-running task, along with its exist status. Example usage: sleep 3; alert - Update egrep and fgrep aliases to use grep -E and grep -F directly respectively, since standalone egrep and fgrep have been deprecated. --- .profile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.profile') diff --git a/.profile b/.profile index 2644551..67c643f 100644 --- a/.profile +++ b/.profile @@ -1,6 +1,12 @@ # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 # source host-specific profile if [ -f "$HOME/.config/profiles/$(hostname)" ]; then -- cgit v1.2.3-60-g2f50