summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2022-11-25 18:45:06 -0500
committerAmin Bandali <bandali@gnu.org>2022-11-25 18:45:57 -0500
commit1fb89b3237d4d7e9a16e189fb4d43e06557e2cec (patch)
tree67ce03f2a29beddcc12eaefdf77cb3e6b90d1f76 /.profile
parent1512d34ef5d6712c20c63e6d2a221128cf81d03b (diff)
downloadconfigs-1fb89b3237d4d7e9a16e189fb4d43e06557e2cec.tar.gz
configs-1fb89b3237d4d7e9a16e189fb4d43e06557e2cec.tar.xz
configs-1fb89b3237d4d7e9a16e189fb4d43e06557e2cec.zip
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.
Diffstat (limited to '.profile')
-rw-r--r--.profile6
1 files changed, 6 insertions, 0 deletions
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