Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
/ dev Public archive

A command line program to easily organize your projects and access them.

Notifications You must be signed in to change notification settings

marcusfrdk/dev

Repository files navigation

Hero

Dev

A command line program to easily organize your projects and access them.

Requirements

  • Bash
  • Git

Tested

  • 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

Installation

From Cloud

curl -s https://raw.githubusercontent.com/marcusfrdk/dev/main/install_from_cloud.sh | bash

From Repository

git clone https://github.com/marcusfrdk/dev.git
cd dev
chmod +x install.sh
./install.sh
exec $SHELL

Uninstallation

From Cloud

curl -s https://raw.githubusercontent.com/marcusfrdk/dev/main/uninstall_from_cloud.sh | bash

From Repository

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.

Usage

Change Directory

Changes the current working directory to DEV_BASEPATH (Default is ~/Development)

dev

Open Project

Opens a specific project in your IDE of choice (Default is nvim)

dev {PROJECT}

Note: Autocomplete using tab is supported

Configuration

Values

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.

In config.sh

After updating the config file, run the following commands to update the program:

./install.sh
exec $SHELL

In session file (.bashrc, .zshrc, etc.)

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.

About

A command line program to easily organize your projects and access them.

Topics

Resources

Stars

Watchers

Forks

Languages