A command line program to easily organize your projects and access them.
- Bash
- Git
- Ubuntu on 22.04
- MacOS (with bash) on Sonoma 14.3
Other system configurations are untested, if you would like to contribute, open a pull request
curl -s https://raw.githubusercontent.com/marcusfrdk/dev/main/install_from_cloud.sh | bash
git clone https://github.com/marcusfrdk/dev.git
cd dev
chmod +x install.sh
./install.sh
exec $SHELL
curl -s https://raw.githubusercontent.com/marcusfrdk/dev/main/uninstall_from_cloud.sh | bash
chmod +x uninstall.sh
./uninstall.sh
exec $SHELL
Note: This only removes the program from your session file, it DOES NOT remove your project folder.
Changes the current working directory to DEV_BASEPATH
(Default is ~/Development
)
dev
Opens a specific project in your IDE of choice (Default is nvim
)
dev {PROJECT}
Note: Autocomplete using tab is supported
DEV_IDE=nvim # the IDE to use, e.g. neovim, vscode, etc.
DEV_BASEPATH="$HOME/Development" # the base directory where you store your projects.
DEV_SHOULD_CLOSE=0 # 0=keep the shell open, 1=close the shell after the IDE process exits.
After updating the config file, run the following commands to update the program:
./install.sh
exec $SHELL
After changing the values in your session file, refresh your session to update the program (exec $SHELL
).
Note: Values changed in your session file will be reset after the script uninstall.sh
is run.