shannonmoeller / Up

Licence: mit
Quickly navigate to a parent directory via tab-completion.

Programming Languages

shell
77523 projects
bash
514 projects

Projects that are alternatives of or similar to Up

Pure
Pretty, minimal, and fast prompt for Fish from Zsh.
Stars: ✭ 740 (+487.3%)
Mutual labels:  zsh, fish
Cgitc
Close Git Combat
Stars: ✭ 62 (-50.79%)
Mutual labels:  zsh, fish
Zsh History To Fish
Bring your ZSH history to Fish shell.
Stars: ✭ 23 (-81.75%)
Mutual labels:  zsh, fish
Autocomplete
Autocomplete for terminals on MacOS
Stars: ✭ 569 (+351.59%)
Mutual labels:  zsh, fish
Mac Bootstrap
💻 Provision a new Mac for web development with dotfiles + Fish/Zsh, Neovim, and Tmux
Stars: ✭ 96 (-23.81%)
Mutual labels:  zsh, fish
Powerline Shell
A beautiful and useful prompt for your shell
Stars: ✭ 5,743 (+4457.94%)
Mutual labels:  zsh, fish
Dotfiles
🏠
Stars: ✭ 60 (-52.38%)
Mutual labels:  zsh, fish
Termux Style
Simple script to change color-schemes and fonts for Termux.
Stars: ✭ 400 (+217.46%)
Mutual labels:  zsh, fish
Zsh to fish
How to make zsh like fish?
Stars: ✭ 93 (-26.19%)
Mutual labels:  zsh, fish
Vg
Virtualgo: Easy and powerful workspace based development for go
Stars: ✭ 1,213 (+862.7%)
Mutual labels:  zsh, fish
Xxh
🚀 Bring your favorite shell wherever you go through the ssh.
Stars: ✭ 2,559 (+1930.95%)
Mutual labels:  zsh, fish
Forgit
💤 A utility tool powered by fzf for using git interactively.
Stars: ✭ 1,823 (+1346.83%)
Mutual labels:  zsh, fish
Bash Shortcuts Cheat Sheet
Useful shortcuts for bash/zsh
Stars: ✭ 452 (+258.73%)
Mutual labels:  zsh, fish
Awesome Dotfiles
A curated list of dotfiles resources.
Stars: ✭ 6,295 (+4896.03%)
Mutual labels:  zsh, fish
Awesome Shell
A curated list of awesome command-line frameworks, toolkits, guides and gizmos. Inspired by awesome-php.
Stars: ✭ 22,631 (+17861.11%)
Mutual labels:  zsh, fish
Jump
Jump helps you navigate faster by learning your habits. ✌️
Stars: ✭ 1,024 (+712.7%)
Mutual labels:  zsh, fish
Zsh Autosuggestions
Fish-like autosuggestions for zsh
Stars: ✭ 19,697 (+15532.54%)
Mutual labels:  zsh, fish
Dtags
Directory Tags for Lazy Programmers
Stars: ✭ 351 (+178.57%)
Mutual labels:  zsh, fish
Colorechoforshell
Make 🐚(shell) 's 💬 (`echo`) to be 🌈 easily ✨ Support ✅ sh ➕ bash ➕ zsh ➕ ksh ➕ 🐟
Stars: ✭ 75 (-40.48%)
Mutual labels:  zsh, fish
Fzf
🌸 A command-line fuzzy finder
Stars: ✭ 40,965 (+32411.9%)
Mutual labels:  zsh, fish

up

Stop typing ../../.. endlessly. Use tab completion instead! Using up allows you to change your current directory to a parent of the current directory where the parent is specified by name or index.

Install

Written in 100% shell script, up.sh registers the up function and some completion functions via your .bashrc or .zshrc file.

bash

curl --create-dirs -o ~/.config/up/up.sh https://raw.githubusercontent.com/shannonmoeller/up/master/up.sh
echo 'source ~/.config/up/up.sh' >> ~/.bashrc

zsh

curl --create-dirs -o ~/.config/up/up.sh https://raw.githubusercontent.com/shannonmoeller/up/master/up.sh
echo 'source ~/.config/up/up.sh' >> ~/.zshrc

fish

Written in 100% fish script, up.fish registers the up function and some completion functions via funcsave.

curl --create-dirs -o ~/.config/up/up.fish https://raw.githubusercontent.com/shannonmoeller/up/master/up.fish
source ~/.config/up/up.fish

Usage

$ up [dir|num|-]

    dir   full or partial name of any parent directory
    num   number of times you'd have to type `../`
    -     previous working directory

Examples

Up one level:

/home/chuck/foo/bar/baz/head/foot $ up
/home/chuck/foo/bar/baz/head $

Up multiple levels:

/home/chuck/foo/bar/baz/head/foot $ up 4
/home/chuck/foo $

Up by full name:

/home/chuck/foo/bar/baz/head/foot $ up bar
/home/chuck/foo/bar $

Up by partial name:

/home/chuck/foo/bar/baz/head/foot $ up ba
/home/chuck/foo/bar/baz $

Tab completion:

/home/chuck/foo/bar/baz/head/foot $ up <TAB>
bar/    baz/    chuck/  foo/    head/   home/

/home/chuck/foo/bar/baz/head/foot $ up h<TAB>
head/   home/

/home/chuck/foo/bar/baz/head/foot $ up ho<TAB>
/home/chuck/foo/bar/baz/head/foot $ up home/
/home $

MIT © Shannon Moeller

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].