The contents in this repository contain aliases and commands that I use to optimize my workflow.
As I use this configuration across different devices with different OSes, that is why there are OS-specific configurations in place.
The setup script is written to enable minimal setup on a new machine to get things going.
The objective of the setup is in creating symbolic links that will allow changes in the config folders and shell configs. This will allow easier management from the cloned repository and thereafter, propagated to other devices.
Take note that this is a bash script and will only work as such. For devices running MacOS, the default bash shell does not support parameter expansion. Therefore it is recommended to update it to the latest version.
To run the script, simply navigate into this project folder and
./env-script.sh
This will do a few things:
- Prompt for deleting any existing zsh config files to replace it with the one in the repository.
- Create soft symbolic links for files mentioned above from the home folder in your home directory.
- Create symbolic links for folders in the config folder in your own .config directory.
Thus, any changes made externally will be reflected in the repository.
This is how I managed to get set up quickly for my needs but feel free to change it up!
Since the tools used in both platforms are different, the setup script is mainly for neovim. The steps taken by the script are the same as the *nix version.
Enjoy!