Code Monkey home page Code Monkey logo

dotfiles's Introduction

dotfiles

.zshrc and cousins

image

Features

  • XDG basedirs
  • 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 <file>: Back up a file
  • htmime <url>: Get the content type of a URL
  • google <query>: Open your default browser on a google query
  • hr: print a terminal-wide banner
  • launch <app> [args]: Launch a binary, disowning it from the terminal immediately
  • lscolors: list all available colors
  • perms <args>: 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.

dotfiles's People

Contributors

jleclanche avatar shiwenma avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.