From 729062bd784d91439247c02183e8c33e8ed0c3b0 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 8 Mar 2022 15:43:15 +0300 Subject: add .bashrc --- .bashrc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..1397282 --- /dev/null +++ b/.bashrc @@ -0,0 +1,20 @@ +# +# ~/.bashrc +# +# Bash executes this file on interactive non-login shell +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +# Add `~/bin` to the `$PATH` +export PATH="$HOME/bin:$PATH" + +# Load the shell dotfiles +for file in ~/.{aliases,bash_prompt}; do + [ -r "$file" ] && [ -f "$file" ] && source "$file" +done +unset file + +# Add tab completion +[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion -- cgit v1.2.3-18-g5258