Skip to content
nngoPublic

About

my Linux shell dotfiles (.bashrc, .cshrc, .alias-bash, .alias-csh, etc.) and some notes/tips.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

88 Commits

Folders and files

Repository files navigation

Settings and Configurations

my Linux shell dotfiles (.bashrc, .cshrc, .aliases.bash, .aliases.csh, etc.)

  • NOTE: below assumes you have cloned this repo into your home directory under ~/settings.

Bash Settings Usage:

  • Append following to your ~/.bashrc to source this file, e.g.
# Source custom ~/settings/bashrc (if exists).
if [ -f ~/settings/bashrc ]; then
  source ~/settings/bashrc
fi
  • -or- Link ~/.bashrc to this file under ~/settings/bashrc, e.g.
ln -s ~/settings/bashrc ~/.bashrc

If only interested in Bash Aliases (FYI: above bashrc includes the below lines)

  • Append following to your ~/.bashrc to source just the aliases, e.g.
# Source alias definitions (if exists).
if [ -f ~/settings/aliases.bash ]; then
  source ~/settings/aliases.bash
fi

Git Settings Usage

  • Add following to your ~/.gitconfig:
[include]
  path = ~/settings/gitconfig

VIM Settings Usage

  • Create symbolic link from ~/.vimrc to file under ~/settings/vimrc, e.g.
ln -s ~/settings/vimrc ~/.vimrc

About

my Linux shell dotfiles (.bashrc, .cshrc, .alias-bash, .alias-csh, etc.) and some notes/tips.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages