Skip to content

Instantly share code, notes, and snippets.

:electron:
Figuring it out as I go

Chris Fuller sfaleron

:electron:
Figuring it out as I go
Block or report user

Report or block sfaleron

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@sfaleron
sfaleron / mydirs.py
Last active Dec 1, 2017
Quickly access directories from anywhere, with a shell function and Python script
View mydirs.py
from __future__ import print_function
# The definitions are in the file "mydirs.dat" which is in the same directory
# as this file. Lines of this file may be blank or a label/directory pair,
# colon delimited. These can contain just about anything that doesn't confuse
# the shell, except colons and newlines, of course.
# Into your .bashrc, .profile, .zshrc, or whatever:
# cd_()
You can’t perform that action at this time.