Skip to content

A repository for storing personal shell configuration files and easily porting them between devices.

Notifications You must be signed in to change notification settings

cristian-aldea/cris-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cris-shell

Repository for storing my configuration files and easily porting then between devices.

Based on the following guide: https://www.atlassian.com/git/tutorials/dotfiles

Installation

# Clone into a bare repository
git clone --bare https://github.com/cristian-aldea/cris-shell.git ~/.cris-shell

# Set the following alias in your terminal session for convenience
alias crissh='git --git-dir=$HOME/.cris-shell/ --work-tree=$HOME'

# Checkout the content from the repository to your home directory
# You might get a warning that the checkout would override existing files
# In that case back up the files, delete them, or use the "--force" option
crissh checkout

# Hide untracked files
crissh config --local status.showUntrackedFiles no

Using the configuration in your terminal

# setup zsh
cat <<EOF >> ~/.zshrc

########### CUSTOM ZSH CONFIG ###########
[ -r ~/.custom.zsh ] && . ~/.custom.zsh
EOF


# setup bash
cat <<EOF >> ~/.bashrc

########### CUSTOM BASH CONFIG ###########
[ -r ~/.custom.bash ] && . ~/.custom.bash
EOF

About

A repository for storing personal shell configuration files and easily porting them between devices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published