Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jleclanche/dotfiles

.zshrc and other bootstrap files
https://github.com/jleclanche/dotfiles

dotfiles zshrc

Last synced: 9 days ago
JSON representation

.zshrc and other bootstrap files

Awesome Lists containing this project

README

        

dotfiles
========

.zshrc and cousins

![image](https://cloud.githubusercontent.com/assets/235410/6504067/7899cc44-c333-11e4-9b72-26cf4493841a.png "Screenshot of a ZSH session")

## Features

* [XDG basedirs](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
* Powerline support if installed
* virtualenvwrapper support if installed
* zsh-syntax-highlight support if installed
* Git integration enabled
* 256-color support by default
* Colors enabled by default in ls, grep, dmesg and less!
* Add your extra stuff in `$XDG_CONFIG_HOME/zsh/profile`
* Put your custom completions in `$XDG_CONFIG_HOME/zsh/completion/`
* Saner defaults for `diff`, `hexdump`, `xclip` and more

### More aliases

* **bk** \: Back up a file
* **htmime** \: Get the content type of a URL
* **google** \: Open your default browser on a google query
* **hr**: print a terminal-wide banner
* **launch** \ [args]: Launch a binary, disowning it from the terminal immediately
* **lscolors**: list all available colors
* **perms** \: Print file permissions (octal and text)
* **myip**: Print the machine's public ip (uses ifconfig.me service)
* **sprunge**: Pastebin stdin (uses sprunge.us service)

#### Requires Python 3+

* **mkhttp**: Run a webserver in cwd (uses Python 3 http.server)
* **urlencode**: Quote stdin with url-encoding (percent-encoding)
* **urldecode**: Unquote percent-encoded stdin
* **urlarray**: Convert a querystring into pretty JSON
* **json**: Indent and prettify json code
* **yaml**: Print YAML contents as pretty-JSON

### Other fun stuff

* Ctrl+E: Edit the current line in your $EDITOR
* Expand "...": Typing ... is expanded to ../..; .... expands to ../../.. and so on.
* Typing a naked directory assumes "cd " is implied.
* The "⇄" icon will show up on the right side of the tty when the shell is running in a SSH session.

## Compatibility

This script requires Zsh >= 5.0. A 4.0-compatible version, with less features,
is available in the `compat/` folder.
NOTE: Cygwin users should set `TERM=cygwin` in their profile file, otherwise
keybindings may be messed up.