summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2024-03-20 14:32:47 +0100
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2024-03-20 14:32:47 +0100
commitc4ea8c057fccd4783196f7b6b578afbb949f746f (patch)
tree5f88ff6e18ed0017b08fc7925a53036b76f39f77 /.bashrc
parentee33087568827e7d5434d302b12196fc358027fa (diff)
Move all code into new directory structure
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc31
1 files changed, 0 insertions, 31 deletions
diff --git a/.bashrc b/.bashrc
deleted file mode 100644
index 78e9cea..0000000
--- a/.bashrc
+++ /dev/null
@@ -1,31 +0,0 @@
-# Bash initialization for interactive non-login shells and
-# for remote shells (info "(bash) Bash Startup Files").
-
-# Export 'SHELL' to child processes. Programs such as 'screen'
-# honor it and otherwise use /bin/sh.
-export SHELL
-
-if [[ $- != *i* ]]
-then
- # We are being invoked from a non-interactive shell. If this
- # is an SSH session (as in "ssh host command"), source
- # /etc/profile so we get PATH and other essential variables.
- [[ -n "$SSH_CLIENT" ]] && source /etc/profile
-
- # Don't do anything else.
- return
-fi
-
-# Source the system-wide file.
-source /etc/bashrc
-
-# Adjust the prompt depending on whether we're in 'guix environment'.
-if [ -n "$GUIX_ENVIRONMENT" ]
-then
- PS1='\n\u@\h [env]\$ '
-else
- PS1='\n\u@\h \$ '
-fi
-alias ls='ls -p --color=auto'
-alias ll='ls -l'
-alias grep='grep --color=auto'