diff --git a/bash/.bashrc b/bash/.bashrc index d6ded6f..4c47e29 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,3 +1,5 @@ +#!/bin/bash + # Do nothing if not running an interactive shell case $- in *i*) ;; @@ -9,6 +11,8 @@ export TERM="xterm-256color" export EDITOR="vi" export VISUAL="vi" +export PATH="$PATH:$HOME/.local/bin/" + # The Prompt export PS1='\[\e[38;2;161;161;0m\]\u\[\e[0m\]@\[\e[34m\]\h\[\e[0m\]:\[\e[32m\]\W\[\e[0m\]\$ ' @@ -52,3 +56,8 @@ set -o vi # Aliases source ~/.config/shell/aliasrc + +# Functions +md() { + mkdir -p "$1" && cd "$1" +}