Add ~/.local/bin to PATH, add md function

This commit is contained in:
The Magician 2023-11-14 16:48:15 +00:00
parent a14eb5317c
commit 38030df570
1 changed files with 9 additions and 0 deletions

View File

@ -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"
}