Skip to content
/ Bash Public

My collection of bash functions and aliases

Notifications You must be signed in to change notification settings

ggldnl/Bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

My collection of bash functions and aliases

This is my collection of bash functions and aliases. Some of the functions are os specific so before sourcing the files we will need to set two variables (well, actually only OS_NAME is strictly required) in order to import only the ones that we will actually need on the current system:

echo "export OS_NAME=\$(head -n 1 /etc/os-release | sed -e 's/^.*=//' -e 's/\"//g')" >> .bashrc
echo "export VERBOSE_SCRIPT=false" >> .bashrc

After doing that:

echo "# aliases & functions" >> .bashrc
echo "source ~/.bash_aliases" >> .bashrc
echo "source ~/.bash_functions" >> .bashrc

About

My collection of bash functions and aliases

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages