Add ~/.local/bin to PATH, add md function
This commit is contained in:
parent
a14eb5317c
commit
38030df570
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# Do nothing if not running an interactive shell
|
# Do nothing if not running an interactive shell
|
||||||
case $- in
|
case $- in
|
||||||
*i*) ;;
|
*i*) ;;
|
||||||
|
@ -9,6 +11,8 @@ export TERM="xterm-256color"
|
||||||
export EDITOR="vi"
|
export EDITOR="vi"
|
||||||
export VISUAL="vi"
|
export VISUAL="vi"
|
||||||
|
|
||||||
|
export PATH="$PATH:$HOME/.local/bin/"
|
||||||
|
|
||||||
# The Prompt
|
# The Prompt
|
||||||
export PS1='\[\e[38;2;161;161;0m\]\u\[\e[0m\]@\[\e[34m\]\h\[\e[0m\]:\[\e[32m\]\W\[\e[0m\]\$ '
|
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
|
# Aliases
|
||||||
source ~/.config/shell/aliasrc
|
source ~/.config/shell/aliasrc
|
||||||
|
|
||||||
|
# Functions
|
||||||
|
md() {
|
||||||
|
mkdir -p "$1" && cd "$1"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue