Skip to content
/ settings Public

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

Notifications You must be signed in to change notification settings

nngo/settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published