Skip to content

bryik/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

bash-functions

A collection of Bash customizations.

Install

In ~/.bashrc

Copy and paste any function or alias directly into ~/.bashrc and then run exec bash (or just close and re-open your terminal).

In separate files

I like to separate my aliases and functions into separate files: ~/.bash_aliases and ~/.bash_functions.

These can be "imported" into ~/.bashrc with:

# Alias definitions.
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# Function definitions.
if [ -f ~/.bash_functions ]; then
    . ~/.bash_functions
fi

About

Helpful Bash customizations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages