2022-01-15 19:00:35 +09:00
|
|
|
#! bash oh-my-bash.module
|
2017-10-10 18:07:01 +07:00
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Description: This file holds all general BASH aliases
|
|
|
|
#
|
2019-01-23 03:05:32 -08:00
|
|
|
# For your own benefit, we won't load all aliases in the general, we will
|
|
|
|
# keep the very generic command here and enough for daily basis tasks.
|
2017-10-10 18:07:01 +07:00
|
|
|
#
|
2019-01-23 03:05:32 -08:00
|
|
|
# If you are looking for the more sexier aliases, we suggest you take a look
|
|
|
|
# into other core alias files which installed by default.
|
2017-10-10 18:07:01 +07:00
|
|
|
#
|
|
|
|
# ---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# -----------------------------
|
|
|
|
# 1. MAKE TERMINAL BETTER
|
|
|
|
# -----------------------------
|
|
|
|
|
|
|
|
alias cp='cp -iv' # Preferred 'cp' implementation
|
|
|
|
alias mv='mv -iv' # Preferred 'mv' implementation
|
|
|
|
alias mkdir='mkdir -pv' # Preferred 'mkdir' implementation
|
|
|
|
alias ll='ls -lAFh' # Preferred 'ls' implementation
|
|
|
|
alias less='less -FSRXc' # Preferred 'less' implementation
|
2019-01-23 03:05:32 -08:00
|
|
|
alias nano='nano -W' # Preferred 'nano' implementation
|
2017-10-10 18:07:01 +07:00
|
|
|
alias wget='wget -c' # Preferred 'wget' implementation (resume download)
|
|
|
|
alias c='clear' # c: Clear terminal display
|
|
|
|
alias path='echo -e ${PATH//:/\\n}' # path: Echo all executable Paths
|
|
|
|
alias show_options='shopt' # Show_options: display bash options settings
|
|
|
|
alias fix_stty='stty sane' # fix_stty: Restore terminal settings when screwed up
|
2020-06-11 01:37:51 -07:00
|
|
|
alias fix_term='echo -e "\033c"' # fix_term: Reset the conosle. Similar to the reset command
|
2017-10-10 18:07:01 +07:00
|
|
|
alias cic='set completion-ignore-case On' # cic: Make tab-completion case-insensitive
|
|
|
|
alias src='source ~/.bashrc' # src: Reload .bashrc file
|