A wrapper around cd and xdg-open to use aliases to directory paths in terminal

CDD - Change directories Dynamically

I am a lazy linux user and turns out that basic tab completion wasn't enough for me to navigate through my directories using cd

Hence I made cdd. This tool helps me create aliases to location which I can jump to at anytime from anywhere.
There is also a cdo command that has the same fuctionality like cdd but will open the required path in the file manager rather than in the terminal.

And the best part is that cdd also has the basic functionality of cd.

You can understand how to use each command by using the -h flag for help

Installation instructions

  1. cd dist
  2. source ./install.sh

Note: currently only works with bash. Working on adding support for other terminals as well

Demo

asciicast

Note

  1. In the help section of the cli you might see help text for some commands with gcdd rather than cdd for now. This is because the main script is a wrapper around a CLI made in golang using cobra. That CLI uses the gcdd command as it's root command

  2. The cdo command might only work on gnome for now.


Suggestions, criticisms, comments and contributions of any type are always welcome. Feel free to reach out

Owner
Navdeep Singh Rathore
Navdeep Singh Rathore
Similar Resources

Go terminal app listing open pull requests in chosen GitHub repositories

Go terminal app listing open pull requests in chosen GitHub repositories

go-pr-watcher About Shows open pull requests on configured GitHub repositories. Getting started Create GitHub personal token with read permissions Cre

Aug 23, 2022

A terminal designed for anyone to use and designed for any platform

A terminal designed for anyone to use and designed for any platform. Which includes the basic features of any terminal and includes friendly commands to perform tools such as ping, traceroute, generate key pairs, encrypt/decrypt, router security actions, etc. All of the source code is done in Go.

Jan 25, 2022

A very simple note-taking CLI you can use from the terminal that uses a SQLite DB to persist, and query, notes.

Note Logger Summary A very simple note-taking CLI you can use from the terminal that uses a SQLite DB to persist, and query, notes. Building/Installin

Apr 14, 2022

a command line tool for syncing a local directory to wnfs

wnfs-sync demo demo CLI application to syncronize a local filesystem directory to a public web-native file system directory. # get this binary, assume

Mar 28, 2022

lls is lightweight ls. Using lls, you can get a list of files in a directory that contains a large number of files.

lls lls is lightweight ls. Using lls, you can get a list of files in a directory that contains a large number of files. How? You allocate a buffer for

Dec 29, 2022

A simple CLI tool that identifies duplicate JARS in a directory. It can remove them also if desired.

Mendix Userlib Cleaner This little utility can be used to identify and clean duplicate JARs. It was created mainly for Mendix apps due to lack of form

Nov 15, 2022

A go language implementation of a CLI, based on input directory files

A go language implementation of a CLI, based on input directory files, using tree output of all file names, based on input database links, dynamic reading of database table information, based on input swagger files to automate the generation of the RESTFUL API.

Aug 23, 2022

Golang-based simple file server to serve files of the current working directory

fileserve Golang-based simple file server to serve static files of the current working directory File sharing in LAN or home network Web application t

Jan 9, 2022

Sync local file/directory to pod volume

Sync local file/directory to pod volume

Mar 19, 2022
Comments
  • BUG - WARNING binary checksum discrepancy

    BUG - WARNING binary checksum discrepancy

    Please can you share exactly which code branch you used to build your "working example" binary, because the checksum of the built main.go code does not match your working example binary?

    # cd ./cdd/gcdd
    # go build
    # sha256sum ./gcdd
    604e615163d1f0b7c4b2af287caec16093ee1d2d0d73418eb8e76bef30726324  ./gcdd
    # sha256sum ../../cdd/dist/bin/gcdd
    2bd06b2f29699787c9f2f60e5dc3616faf7ad1bf07251cdf6aac69bb6958f55e  ../../cdd/dist/bin/gcdd
    
Related tags
Simplest possible GH CLI wrapper around rhysd/actionlint

Simplest possible GH CLI wrapper around rhysd/actionlint

Dec 2, 2022
This is a command line application to manage and fine-tune Time Machine exclude paths.

heptapod This is a command line application to manage and fine-tune Time Machine exclude paths. This repository is a WIP! The advertised functionality

Dec 28, 2022
Terminal interface to search the llvm C wrapper (llvm-c) API

Introduction This tool scrapes the LLVM-C API and (currently) prints all available API functions to stdout. It came to be from the lack of search opti

Dec 2, 2022
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.
Stonks is a terminal based stock visualizer and tracker that displays realtime stocks in graph format in a terminal.

Stonks is a terminal based stock visualizer and tracker. Installation Requirements: golang >= 1.13 Manual Clone the repo Run make && make install Pack

Dec 16, 2022
Simple, lightweight, and easy to use gopacket wrapper cli

gniffer Simple, lightweight, and easy to use gopacket wrapper cli Explore the docs » View Demo · Report Bug · Request Feature Table of Contents About

Dec 25, 2021
Grab is a tool that downloads source code repositories into a convenient directory layout created from the repo's URL's domain and path

Grab is a tool that downloads source code repositories into a convenient directory layout created from the repo's URL's domain and path. It supports Git, Mercurial (hg), Subversion, and Bazaar repositories.

Jun 2, 2022
The go mod init command initializes and writes a new go.mod file in the current directory

go mod: The go mod init command initializes and writes a new go.mod file in the current directory, in effect creating a new module rooted at the curre

Nov 21, 2021
Go library for detecting and expanding the user's home directory without cgo.

go-homedir This is a Go library for detecting the user's home directory without the use of cgo, so the library can be used in cross-compilation enviro

Jan 5, 2023
Watcher - A simple command line app to watch files in a directory for changes and run a command when files change!

Watcher - Develop your programs easily Watcher watches all the files present in the directory it is run from of the directory that is specified while

Mar 27, 2022
Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels.
Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels.

Upterm is an open-source solution for sharing terminal sessions instantly over the public internet via secure tunnels.

Jan 8, 2023