Shell Configs: Difference between revisions

From Leo's Notes
This page was last edited on 14 June 2020, at 22:37.
m Text replacement - "Category:Linux{{Navbox Linux}}" to "{{Navbox Linux}}Category:Linux"
mNo edit summary
Line 1: Line 1:
My shell configs can be viewed at https://git.steamr.com/leo/shell-configs.
Linux power users typically symlink their shell environment settings into a set of 'dot files' which can then be version controlled.  However, I have been using a slightly different approach where my shell configuration (including vim configs and plugins, SSH authorized_keys, etc.) are copied directly to the home directory.  This is a matter of personal taste as I really don't like seeing symlinks littered across my home directory, though the downside to this method is that changes can't be made directly on the home directory as it isn't the source of truth anymore.
 
My shell configs can be viewed at https://git.steamr.com/leo/shell-configs. As part of the configs, there is a bootstrap shell script which I run directly via wget to setup or update the account I'm working on.  


The bootstrap command to load the configs is:
The bootstrap command to load the configs is:
Line 5: Line 7:
$ curl https://git.steamr.com/leo/shell-configs/raw/master/bootstrap.sh {{!}} sh && exec bash
$ curl https://git.steamr.com/leo/shell-configs/raw/master/bootstrap.sh {{!}} sh && exec bash
}}
}}





Revision as of 22:37, 14 June 2020

Linux power users typically symlink their shell environment settings into a set of 'dot files' which can then be version controlled. However, I have been using a slightly different approach where my shell configuration (including vim configs and plugins, SSH authorized_keys, etc.) are copied directly to the home directory. This is a matter of personal taste as I really don't like seeing symlinks littered across my home directory, though the downside to this method is that changes can't be made directly on the home directory as it isn't the source of truth anymore.

My shell configs can be viewed at https://git.steamr.com/leo/shell-configs. As part of the configs, there is a bootstrap shell script which I run directly via wget to setup or update the account I'm working on.

The bootstrap command to load the configs is:

$ curl https://git.steamr.com/leo/shell-configs/raw/master/bootstrap.sh | sh && exec bash