bashstrap

A quick way to spruce up your terminal in OSX.

  • 所有者: andrewrk/naught
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Bashstrap is a quick way to spruce up OSX terminal. It cuts out the fluff, adds in timesaving features, and provides a solid foundation for customizing your terminal style.

Based on Mathias Bynens epic dotfiles - https://github.com/mathiasbynens/dotfiles

Feature list

Faster directory navigation

  • Open your current directory in Sublime Text (with just 2 characters)
  • Jump directories rapidly, without having to set aliases—using Z (my favorite feature!)
  • Tab bar displays your current directory
  • Lots of quick shortcut aliases that I use for git and moving around directories

Customized bash prompt line

  • Git branch status inline
  • ☠ ahoy! An easily customizable symbol
  • Stripped out extraneous text

Updated color scheme

  • Colored 'ls'
  • Syntax highlighted 'cat'

Installation: dotfiles (2 mins)

  1. Back up your current dotfiles (optional):

     mv ~/.bash_profile ~/.bash_profile_backup
     mv ~/.bashrc ~/.bashrc_backup
     mv ~/.gitconfig ~/.gitconfig_backup
    
  2. Install Bashstrap into your home dir:

     cd; curl -#L https://github.com/barryclark/bashstrap/tarball/master, tar -xzv --strip-components 1 --exclude={README.md,screenshot.png}
    
  3. Run source ~/.bash_profile or restart iTerm or terminal.

Installation: iTerm (5 mins)

Following these steps will make your iTerm look identical to mine in the screenshot above.

  1. Install iTerm.
  2. Prettier font: iTerm Preferences > Profiles > Default > Text > Regular Font & Non-ASCII > 14pt Menlo regular
  3. Unbold font: iTerm Preferences > Profiles > Default > Text > Text Rendering > uncheck "Draw bold text in bold font"
  4. Lighter blue for the directory highlighting: iTerm Preferences > Profiles > Default > Colors > click Blue and make it lighter

For more on configuring Bashstrap, see my blog post: Creating Bashstrap

主要指標

概覽
名稱與所有者andrewrk/naught
主編程語言JavaScript
編程語言Shell (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2012-08-29 23:16:17
推送於2022-10-26 14:37:28
最后一次提交2015-09-07 08:39:42
發布數26
最新版本名稱1.6.0 (發布於 2015-09-07 08:39:42)
第一版名稱0.0.1 (發布於 2012-09-21 16:20:45)
用户参与
星數793
關注者數29
派生數69
提交數188
已啟用問題?
問題數74
打開的問題數27
拉請求數14
打開的拉請求數7
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?