• Stars
    star
    412
  • Rank 101,793 (Top 3 %)
  • Language
    Shell
  • Created over 10 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Jump back to a specific directory, without doing `cd ../../..`

Build Status

zsh-bd

Quickly go back to a specific parent directory instead of typing cd ../../.. redundantly.

Update August 2017: While there have not been commits lately, it's still fully functional.


This is a reimplementation of vigneshwaranr/bd that utilizes the power of the zsh shell.

Install

All you need to do is to source bd.zsh. Here's the manual installation

mkdir -p $HOME/.zsh/plugins/bd
curl https://raw.githubusercontent.com/Tarrasch/zsh-bd/master/bd.zsh > $HOME/.zsh/plugins/bd/bd.zsh
print -- "\n# zsh-bd\n. \$HOME/.zsh/plugins/bd/bd.zsh" >> $HOME/.zshrc

Restart your shell (or run zsh)

Antigen

If you prefer antigen over manual installation

antigen-bundle Tarrasch/zsh-bd

Usage

$ mkdir -p a/b/c/d
$ cd a/b/c/d
$ bd b
$ ls
c
$ cd c/d
$ bd 2
$ ls
c

Here's an animation also showing the completion functionality

Animated gif

Thanks

Thanks to @vigneshwaranr for inspiring me to do a zsh version.

Thanks to @voria for many useful patches! (see commit log)

More Repositories

1

zsh-autoenv

Autoenv for zsh
Perl
669
star
2

antigen-hs

A fast zsh plugin manager
Haskell
205
star
3

zsh-colors

Imagine a shell where `red ERROR` just works
Shell
42
star
4

zsh-command-not-found

A mirror of oh-my-zsh/plugins/command-not-found in case you don't want all of oh-my-zsh
Shell
22
star
5

dotfiles

My own simple dotfiles (I promise, when i started it was simple ;p)
Vim Script
16
star
6

zsh-mcd

zsh plugin for `mkdir && cd`
Shell
5
star
7

yesod-text-markdown

Yesod support for Text.Markdown
Haskell
5
star
8

vietnamese-stopwords

A relatively big list of vietnamese stopwords
Python
5
star
9

timed-repeating

Repeat haskell IO actions (run background jobs) in a managed way, useful when caching scraping results
Haskell
4
star
10

zsh-i-know

Avoid catastrophes like accidentally running `rm -rf .giit`
Shell
3
star
11

Forarprov-selenium-rb

Check for available test day times for Swedish drivers license
Ruby
3
star
12

Einstein-scraping

A "Restaurant Einstein" online menu scraper in haskell
2
star
13

Matrix-multiplication-in-MIPS

Optimized implementation of gaussian elimination for MIPS assembler
C
2
star
14

authenticate-kerberos

kerberos authentication in Haskell
Haskell
2
star
15

Listify

Managing Spotify playlists using libspotify
C
2
star
16

exjobb

None-code files for my master thesis work
TeX
2
star
17

Huzzle-Bobble

[Abandoned] Puzzle Bobble written in Haskell
Haskell
2
star
18

Cheapest-SJ-Ticket

[Abandoned] SJ.se scraper that could find cheaper train tickets by nontrivial routes
Pascal
2
star
19

LBA-Image-Creator

GUI for modifying in-game images for the Little Big Adventure games
Pascal
2
star
20

Basic-image-Processing

Objective-C
2
star
21

Cyclic-Barrier

2
star
22

room-booker-rb

Book group rooms at Chalmers University of Technology
JavaScript
2
star
23

sokoban-planner

[CS7649] RIP12 project1: Classical Sokoban Planner
Java
2
star
24

Jenkins-home-dir

Repo "backup" of jenkins home dir
Shell
2
star
25

yesod-auth-kerberos

Kerberos support for Yesod Auth
Haskell
2
star
26

Hong

A Pong clone in Haskell with reactive programming
Haskell
2
star
27

Single-lane-Bridge

Getting cars to cross a bridge
2
star
28

Tuplespace

Erlang module which implements a Linda-style tuple space
Erlang
2
star
29

BabuschkaEngine

Babuschka playing engine (also see Babuface)
C++
1
star
30

Cryptography-Course

Coursework repo
1
star
31

Dynamic-Sieves

Sieving out primes with channels created dynamically
1
star
32

shorten-strings

A unified interface for shorten-ellipsis'ing string-like types
1
star
33

Digital-Signature-Algorithm

Digital Signature Algorithm
Haskell
1
star
34

rack-example

Rack example application
Ruby
1
star
35

Advanced-Algorithms

Excercises for the advanced algorithms course on CTH
1
star
36

luigid-basics-jun-2015

Short presentation about luigi central scheduler
JavaScript
1
star
37

Recipe-Site

A small yesod site as described by http://www.yesodweb.com/blog/2011/5/yesod-for-non-haskellers
Haskell
1
star
38

Nollform

A yesod site where university freshmen can register their personality in brief
Haskell
1
star
39

Receiving-in-JR

Receiving multiple messages in JR
Java
1
star
40

Hello-world-in-MIPS

1
star
41

Optimization-of-x2

1
star
42

Maxmargin-classifier

Simple classifier
Objective-C
1
star
43

thunky-lists

[Proof of concept] Lazy lists in java using thunks
Java
1
star
44

Yerbersod

Kerberos + Yesod (temporary repo)
1
star
45

JK-vippa

1
star
46

Synchronus-sequential-design

Laboration in VHDL (= Lab 3)
VHDL
1
star
47

vhpop

[UNOFFICIAL] Mirror of vhpop, just changed to compile
C++
1
star
48

TCP-Client

TCP Client written in java that fetches a website
1
star
49

Water-Tank-Regulator

A control engineering approach to regulate water tanks
1
star
50

Pattern-Recognition

An excercise to recognize patterns in Iris Plants
1
star
51

Flank-Detector

A circuit detecting which signal was last changed
1
star
52

K1K2-MIPS-interrupts

1
star
53

Weighted-Max-Cut

Objective-C
1
star
54

Functional-language-interpreter

An interpreter for a very small untyped functional language
Haskell
1
star
55

Two-Player-Zero-Sum

Objective-C
1
star
56

Dtek-Apache-Conf

Apache2 configuration for dtek.se
1
star
57

Control-of-Satellite

A Control engineering approach using a PD-regulator
1
star
58

my-tetris-solver-hs

Weekend project: Solve Tetris in Haskell
Haskell
1
star
59

MagControl

A control engineering approach to regulating the position of a magnetic ball
MATLAB
1
star
60

motion-planning

[CS7649] RIP12 project2: Motion planning
C++
1
star
61

Hazards

Hazards in combinatorial circuits
1
star
62

stacker

Hello world in elixir
Elixir
1
star
63

Studying-Abroad

1
star
64

Water-demo

We show what github's commenting feature can do
1
star
65

word-numbers-hs

Solving the word numbers problem with help from <http://conway.rutgers.edu/~ccshan/wiki/blog/posts/WordNumbers1/>
1
star
66

AlphaBiscuit

Analyze alphabet crackers and determine Characters/Words
MATLAB
1
star
67

Basic-image-operation-in-matlab

1
star
68

Babuschkaface

Babuschka game interface (game idea © Alan Newman)
Pascal
1
star
69

Curriculum-Vitae

Repo for my curriculum vitae - a compiled version can be found on my website:
TeX
1
star