Skip to content

Instantly share code, notes, and snippets.

@cpp-johnny
Created February 1, 2023 03:02
Show Gist options
  • Save cpp-johnny/c5da92fa185c50dbdd59d8b3d249b823 to your computer and use it in GitHub Desktop.
Save cpp-johnny/c5da92fa185c50dbdd59d8b3d249b823 to your computer and use it in GitHub Desktop.
permanent bash aliases
# How to update bash_aliases
# 1) vim ~/.bash_aliases
# 2) make changes
# 3) exit
# 4) source ~/.bash_aliases
# for more details refer to https://www.cyberciti.biz/faq/create-permanent-bash-alias-linux-unix/
# make ls have colour
alias ls='ls --color=auto'
# rename bat to batcat
# to install batcat: sudo apt install bat
#
alias bat='batcat'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment