Last active
August 23, 2024 11:07
-
-
Save fenykep/b3f085394b42286682bee2b99242e743 to your computer and use it in GitHub Desktop.
Small bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias kod="cd ~/Documents/code" | |
mdir(){ | |
mkdir -p -- "$1" && cd -P -- "$1" | |
} | |
alias diff='diff -u --color=auto' | |
alias dd="dd status=progress" | |
alias mkblog="~/Documents/code/blog/blog_back/target/release/blog_back" | |
sha(){ | |
echo -n "$*" | sha256sum; | |
} | |
alias pdftool="~/Downloads/whiteglove/cpdf" | |
alias aichat="ollama run llama3" | |
alias prettipls='prettier "$1" | diff "$1" -' | |
#note(){ | |
# cd ~/Documents/code/codingChallenge | |
# echo -e "\n" >> notes.txt | |
# date >> notes.txt | |
# echo -e "\n" >> notes.txt | |
# vi + notes.txt | |
#} | |
PS1="\[\e[1;37m\]\\$" | |
PS1+="\[\e[0;92m\]\u\[\e[m\] " # username | |
PS1+="\[\033[38;5;111m\]@\[\033[38;5;214m\]\h\[\e[m\]" # host | |
#PS1+=" " # space | |
#PS1+=">> " # end prompt | |
PS1+="\[\e[0;95m\]/\W\[\e[m\]" # current directory | |
PS1+="\[\033[38;5;111m\]>> \[\e[m\]" | |
export PS1; | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacady |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sha schneller