This repository has been archived on 2025-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
.bin
mpc
powerline-shell
.bashrc-global
.directory
bashrc.sh
bashrc.sh.bak
colortest
mklatex
powerline-shell.py
test-notifications
xephrice
xrdbupdate
.config
.local
.ncmpcpp
.oh-my-zsh
.themes
.vim
.Xdefaults
.Xresources
.bash_profile
.profile
.vimrc
.xinitrc
.xsessionrc
.zshrc
README.md
home/.bin/.bashrc-global
2017-08-31 22:50:47 +00:00

27 lines
446 B
Bash

#!/bin/bash
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Sometimes you can't change your shell. Sometimes you have to implement hacky
# workarounds
if [ -f ~/.bash-to-zsh ]; then
exec zsh
fi
# Source /etc/profile
source /etc/profile
# Source .profile
if [ -f ~/.profile ]; then
source ~/.profile
fi
# Source the bash-specific rc
if [ -f ~/.bin/bashrc.sh ]; then
source ~/.bin/bashrc.sh
fi