Last active
July 19, 2022 15:49
-
-
Save angrykoala/ebd68ce3be81d78cdd4bc3cc982d3caa to your computer and use it in GitHub Desktop.
Custom bashrc commands to append in .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
# My Custom bash | |
## Statup commands | |
echo "Hello, today is" | |
date +%A','%x | |
date +'['%X']' | |
fortune | cowsay -T "U " -e o- | |
## New Promt | |
PS1="\e[01;32m[\u]\e[m\t\e[01;34m\w->\e[m" | |
## Local directory in path | |
PATH=.:$PATH | |
## Alias | |
alias chbash='gedit ~/.bashrc &' | |
alias cls='clear;clear' | |
alias cat='batcat -p' | |
alias catdiff='diff -u $1 $2 | delta' | |
alias show='nautilus $1' | |
alias open='xdg-open' | |
alias ll='ls -alFh' | |
# Common Typos | |
alias cd..='cd ..' | |
alias it='git' | |
alias igt='git' | |
alias atom.='atom .' | |
alias codium.='codium .' | |
alias youtube-mp3='youtube-dl -x --audio-format mp3 $1' | |
alias watch-files='onchange -ik' # Using npm onchange | |
## Functions | |
# Nothing to see here | |
## ENV Variables | |
export PYTHONDONTWRITEBYTECODE=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment