diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-10 09:40:43 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-10 09:40:43 -0500 |
commit | e0ff71f1967d6d6f1ca9b8bfa386818806d8e0cb (patch) | |
tree | 39ee507b634cb40366fed3646c338f90d4f5e6c9 | |
parent | 9ac2b12a8ceb00d659ddd333be4cb7726905f76d (diff) | |
download | rcm-e0ff71f1967d6d6f1ca9b8bfa386818806d8e0cb.tar.gz rcm-e0ff71f1967d6d6f1ca9b8bfa386818806d8e0cb.tar.bz2 rcm-e0ff71f1967d6d6f1ca9b8bfa386818806d8e0cb.zip |
Remove bash profile and bashrc
-rw-r--r-- | bash_profile | 9 | ||||
-rw-r--r-- | bashrc | 41 |
2 files changed, 0 insertions, 50 deletions
diff --git a/bash_profile b/bash_profile deleted file mode 100644 index fd8a8a8..0000000 --- a/bash_profile +++ /dev/null @@ -1,9 +0,0 @@ -# Set up the system, user profile, and related variables. -# /etc/profile will be sourced by bash automatically -# Set up the home environment profile. -if [ -f ~/.profile ]; then source ~/.profile; fi - -# Honor per-interactive-shell startup file -if [ -f ~/.bashrc ]; then source ~/.bashrc; fi - -if [[ "$(tty)" == "/dev/tty1" ]]; then exec dbus-run-session hikari; fi @@ -1,41 +0,0 @@ -alias grep="ugrep --exclude-dir=node-modules --exclude-dir=_build" -alias e="$EDITOR" -alias g="git" -alias rcup="rcup -d ~/rcm" -alias lsrc="lsrc -d ~/rcm" -alias rcdn="rcdn -d ~/rcm" -alias mkrc="mkrc -d ~/rcm" -alias infols="inxi -S -c 0" -alias f-commit="fossil commit && fossil git export" -# 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. -[ -f /etc/bashrc ] && source /etc/bashrc - -parse_git_branch() { - git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1./' -} - -PS1=' $(parse_git_branch)\W. ' -eval "$(zoxide init bash)" -eval "$(direnv hook bash)" - -export PATH=${PATH}:~/.local/bin -export GPG_TTY=/dev/pts/0 -gpg-connect-agent updatestartuptty /bye >/dev/null |