autoenv - Directory-based environments.

  •        42

Magic per-project shell environments. Very pretentious. If a directory contains a .env file, it will automatically be executed when you cd into it. When enabled (set AUTOENV_ENABLE_LEAVE to a non-null string), if a directory contains a .env.leave file, it will automatically be executed when you leave it.

https://github.com/kennethreitz/autoenv

Tags
Implementation
License
Platform

   




Related Projects

direnv - Unclutter your .profile

  •    Go

direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh, fish shell and elvish to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the ~/.profile file. Before each prompt, direnv checks for the existence of a ".envrc" file in the current and parent directories. If the file exists (and is authorized), it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to the current shell.

smartcd - Alter your bash (or zsh) environment as you cd

  •    Shell

smartcd is a library for bash and zsh which brings transformative power to your fingertips. The basic premise is that as you move around your computer using the shell, actions can be automatically taken to provide you with the environment you really want, not the one you're accustomed to putting up with.

zsh-autoenv - Autoenv for zsh

  •    Perl

zsh-autoenv automatically sources (known/whitelisted) .autoenv.zsh files, typically used in project root directories. It handles "enter" and leave" events, nesting, and stashing of variables (overwriting and restoring).

bass - Make Bash utilities usable in Fish shell

  •    Python

Bass makes it easy to use utilities written for Bash in fish shell. Regular bash scripts can be used in fish shell just as scripts written in any language with proper shebang or explicitly using the interpreter (i.e. using bash script.sh). However, many utilities, such as virtualenv, modify the shell environment and need to be sourced, and therefore cannot be used in fish. Sometimes, counterparts (such as the excellent virtualfish) are created, but that's often not the case.

shml - SHell Markup Language | Style Framework for The Terminal

  •    Shell

SHML is a shell framework for faster and easier script development. HTML has CSS, terminals have "ANSI/VT100 Control Sequences". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = \033[33m instead Yellow is $(color yellow).


desk - A lightweight workspace manager for the shell

  •    Shell

Lightweight workspace manager for the shell. Desk makes it easy to flip back and forth between different project contexts in your favorite shell. Change directory, activate a virtualenv or rvm, load in domain-specific aliases, environment variables, functions, arbitrary shell files, all in a single command.

wd - :rocket: Jump to custom directories in zsh

  •    Shell

wd (warp directory) lets you jump to custom directories in zsh, without using cd. Why? Because cd seems inefficient when the folder is frequently visited or has a long path. NEWS: If you are not using zsh, check out the c-port, wd-c, which works with all shells using wrapper functions.

hstr - Bash and zsh shell history suggest box - easily view, navigate, search and manage your command history

  •    C

Easily view, navigate and search your command history with shell history suggest box for Bash and zsh. HSTR (HiSToRy) is a command line utility that brings improved Bash command completion from the history. It aims to make completion easier and more efficient than Ctrlr.

thirsty - Reminds you to drink water - on your terminal.

  •    Shell

zsh/bash script to remind you to drink water. If you're like me and you spend a lot of time programming with the command line open, chances are that you forget about everything for hours, which includes drinking water. At the end of the day I used to realise that I had not consumed enough water. Hence I created a bash/zsh script to remind me to drink water right on my command line.

dotfiles - My macOS environment: zsh, Oh My Zsh, Git, etc.

  •    Shell

Now you can run scripts like osx.sh or server.sh to install other stuff. You can use any file extensions in tilde/ to invoke proper syntax highlighting in code editor.

fish-shell-cookbook - Tips and recipes for fish, from shell to plate

  •    

This document is a living book of recipes to solve particular programming problems using fish-shell. Whether you are in the mood for mackerel or salmon on the grill, there is always a distinctive and delicious way to prepare any type of fish. Well-known shells are bash, ash, csh, ksh and the popular zsh. All these shells are POSIX, so well-written POSIX-compliant scripts should run without modification in any of them. That's about the only good reason to learn POSIX shell.

bash-it - A community Bash framework.

  •    Shell

Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more. Bash-it provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. If you're using the Bourne Again Shell (Bash) on a regular basis and have been looking for an easy way on how to keep all of these nice little scripts and aliases under control, then Bash-it is for you! Stop polluting your ~/bin directory and your .bashrc file, fork/clone Bash-it and start hacking away.

bashhub-client - :cloud: Bash history in the cloud. Indexed and searchable.

  •    Python

Bashhub saves every terminal command entered across all sessions and systems and provides powerful querying across all commands. It also provides a key binding of ctrl + b for quickly dropping into interactive search.

enhancd - :rocket: A next-generation cd command with an interactive filter

  •    Shell

🚀 enhancd v2 is ... cd command is one of the frequently used commands.

git-extra-commands - A collection of useful extra git scripts I've discovered or written, packaged for ease of use with shell frameworks

  •    Shell

A zsh plugin that packages some extra git helper scripts I've found. I only wrote a few of these scripts, and the ones I didn't each have whatever licensing is included in the file. This collection doesn't actually require ZSH, but packaging it as a ZSH plugin makes it more convenient for people using a ZSH framework to use this collection.

zsh-completions - Additional completion definitions for Zsh.

  •    Shell

Additional completion definitions for Zsh. This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts may be contributed to the Zsh project when stable enough.

powerline-go - A beautiful and useful low-latency prompt for your shell, written in go

  •    Go

A Powerline like prompt for Bash, ZSH and Fish. Based on Powerline-Shell by @banga. Ported to golang by @justjanne. Each of these will have a number next to it if more than one file matches.

athame - Full vim for your shell (bash, zsh, gdb, python, etc)

  •    C

Athame patches your shell to add full Vim support by routing your keystrokes through an actual Vim process. Athame can currently be used to patch readline (used by bash, gdb, python, etc) and/or zsh (which doesn't use readline). Yes, and if you're fine with basic vi imitations designed by a bunch of Emacs users, feel free to use them. ...but for the true Vim fanatics who sacrifice goats to the modal gods, Athame gives you the full power of Vim.

Cygwin - Get that Linux feeling on Windows

  •    C

Cygwin is a collection of tools which provide a Linux look and feel environment for Windows. It is a DLL (cygwin1.dll) which acts as a Linux API layer providing substantial Linux API functionality. The Cygwin tools are ports of the popular GNU development tools for Microsoft Windows. They can be used from one of the provided Unix shells like bash, tcsh or zsh.