今日 http://connpass.com/event/3808/ に行ってきたが、そこでgithubの人が使ってたターミナルの画面がなにそれ!と思い、TwitterのTLを追っかけてたらどうやら「oh-my-zsh」というものらしい。
ほほうと思い、Bash版ないかなーと探してみたらあったので入れてみた。 > https://github.com/revans/bash-it
ただ途中で「お前jekyll使うん?しらねーなら'n'って答えろや」って言われるので、すいません。しらねーすってことでnにしてあとはall。
で、.bash_profileの中いじれって言われるので、適当にやっておいた。
ダメならあとでまた直す。
※ (it automatically backs up your
※ ↑のハイカラーはブログの為。本来とは異なります。
一覧で確認してみる。
おk。入り直した所、エラーもでなくなりました。やったー。
2-3分使った感じ初回の読み込みの所は若干つっかかる感じはあるもののかなりいい感じではある。
もうちょっといじってみようという気にはなる。
取り急ぎ。
ほほうと思い、Bash版ないかなーと探してみたらあったので入れてみた。 > https://github.com/revans/bash-it
kmori@kmori-MacBook-Pro:~$ git clone https://github.com/revans/bash-it.git ~/.bash_itCloning into '/Users/kmori/.bash_it'...remote: Counting objects: 2597, done.remote: Compressing objects: 100% (1597/1597), done.remote: Total 2597 (delta 985), reused 2257 (delta 690)Receiving objects: 100% (2597/2597), 557.20 KiB | 393 KiB/s, done.Resolving deltas: 100% (985/985), done.kmori@kmori-MacBook-Pro:~$
とりあえずREADMEに書いてある通りにぶっこんだ。kmori@kmori-MacBook-Pro:~$ .bash_it/install.shYour original .bash_profile has been backed up to .bash_profile.bakCopied the template .bash_profile into ~/.bash_profile, edit this file to customize bash-itDo you use Jekyll? (If you don't know what Jekyll is, answer 'n') [Y/N] nWould you like to enable all, some, or no aliases? Some of these may make bash slower to start up (especially completion). (all/some/none) allWould you like to enable all, some, or no plugins? Some of these may make bash slower to start up (especially completion). (all/some/none) allWould you like to enable all, some, or no completion? Some of these may make bash slower to start up (especially completion). (all/some/none) allkmori@kmori-MacBook-Pro:~$
ただ途中で「お前jekyll使うん?しらねーなら'n'って答えろや」って言われるので、すいません。しらねーすってことでnにしてあとはall。
で、.bash_profileの中いじれって言われるので、適当にやっておいた。
ダメならあとでまた直す。
※ (it automatically backs up your
~/.bash_profile
) って言ってて、勝手にバックアップをとってくれます。んで、sourceするkmori@kmori-MacBook-Pro:~$ cat ~/.bash_profile#!/usr/bin/env bash# Load RVM, if you are using it[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm# Add rvm gems and nginx to the pathexport PATH=$PATH:~/.gem/ruby/1.8/bin:/opt/nginx/sbin# Path to the bash it configurationexport BASH_IT=$HOME/.bash_it# Lock and Load a custom theme file# location /.bash_it/themes/export BASH_IT_THEME='bobby'# Your place for hosting Git repos. I use this for private repos.export GIT_HOSTING='git@git.domain.com'# Set my editor and git editorexport EDITOR="subl"export GIT_EDITOR='subl'# Set the path nginx#export NGINX_PATH='/opt/nginx'# Don't check mail when opening terminal.unset MAILCHECK# Change this to your console based IRC client of choice.#export IRC_CLIENT='irssi'# Set this to the command you use for todo.txt-cliexport TODO="t"# Set vcprompt executable path for scm advance info in prompt (demula theme)# https://github.com/xvzf/vcprompt#export VCPROMPT_EXECUTABLE=~/.vcprompt/bin/vcprompt# Load Bash Itsource $BASH_IT/bash_it.shkmori@kmori-MacBook-Pro:~$
お!きた!と思いきやエラーが出てるな…ねーって言われてるし、zっていうプラグインがぶつかっててちゃんと動いてるか動いてないかよーわからん!って言われてる。めんどくさいので全部止める。kmori@kmori-MacBook-Pro:~$ source .bash_profile-bash: /usr/local/share/chruby/chruby.sh: No such file or directory-bash: /usr/local/share/chruby/auto.sh: No such file or directory-bash: /usr/local/share/chruby/chruby.sh: No such file or directorysorry, the z plugin is incompatible with the fasd plugin. you may use either, but not both.|1.9.3-p194| kmori-MacBook-Pro in ~○ →
※ ↑のハイカラーはブログの為。本来とは異なります。
一覧で確認してみる。
ばしっとdisable!|1.9.3-p194| kmori-MacBook-Pro in ~○ → bash-it show pluginsPlugin Enabled? Description_xterm [ ] automatically set your xterm title with host and location infobase [x] miscellaneous toolsbattery [x] display info about your battery charge levelbrowser [x] render commandline output in your browserchruby-auto [x] load chruby + auto-switching (from /usr/local/share/chruby)chruby [x] load chruby (from /usr/local/share/chruby)dirs [x] directory stack navigationextract [x] one command to extract them all...fasd [x] navigate "frecently" used files and directoriesgit [x] git helper functionshg [x] hg helper functionsjava [x] Java and JAR helper functionsjavascript [x] download jquery files into current projectjekyll [x] manage your jekyll sitelatex [x] use mactexnginx [x] manage your nginx servicenode [x] Node.js helper functionsnvm [x] node version manager, as a bash functionosx [x] osx-specific functionspython [x] alias "http" to SimpleHTTPServerrbenv [x] load rbenv, if you are using itruby [x] adds "remove_gem" functionrvm [x] load rvm, if you are using itssh [x] ssh helper functionssubversion [x] svn helper functionstmux [x] make sure that tmux is launched in 256 color modetmuxinator [x] sources tmuxinator script if availabletodo [x]vagrant [x] set up vagrant autocompletionvirtualenv [x] virtualenvwrapper helper functionsz [x] maintains a jump-list of the directories you actually usez is DEPRECATED, use fasd insteadz_autoenv [x] source into environment when cding to directoriesto enable a plugin, do:$ bash-it enable plugin <plugin name> -or- $ bash-it enable plugin allto disable a plugin, do:$ bash-it disable plugin <plugin name> -or- $ bash-it disable plugin all
反映されてるか確認。|1.9.3-p194| kmori-MacBook-Pro in ~○ → bash-it disable plugin zz disabled.|1.9.3-p194| kmori-MacBook-Pro in ~○ → bashbash bash-it bashbug|1.9.3-p194| kmori-MacBook-Pro in ~○ → bash-it disable plugin chruby-autochruby-auto disabled.|1.9.3-p194| kmori-MacBook-Pro in ~○ → bash-it disable plugin chrubychruby disabled.
|1.9.3-p194| kmori-MacBook-Pro in ~○ → bash-it show pluginsPlugin Enabled? Description_xterm [ ] automatically set your xterm title with host and location infobase [x] miscellaneous toolsbattery [x] display info about your battery charge levelbrowser [x] render commandline output in your browserchruby-auto [ ] load chruby + auto-switching (from /usr/local/share/chruby)chruby [ ] load chruby (from /usr/local/share/chruby)dirs [x] directory stack navigationextract [x] one command to extract them all...fasd [x] navigate "frecently" used files and directoriesgit [x] git helper functionshg [x] hg helper functionsjava [x] Java and JAR helper functionsjavascript [x] download jquery files into current projectjekyll [x] manage your jekyll sitelatex [x] use mactexnginx [x] manage your nginx servicenode [x] Node.js helper functionsnvm [x] node version manager, as a bash functionosx [x] osx-specific functionspython [x] alias "http" to SimpleHTTPServerrbenv [x] load rbenv, if you are using itruby [x] adds "remove_gem" functionrvm [x] load rvm, if you are using itssh [x] ssh helper functionssubversion [x] svn helper functionstmux [x] make sure that tmux is launched in 256 color modetmuxinator [x] sources tmuxinator script if availabletodo [x]vagrant [x] set up vagrant autocompletionvirtualenv [x] virtualenvwrapper helper functionsz [ ] maintains a jump-list of the directories you actually usez is DEPRECATED, use fasd insteadz_autoenv [x] source into environment when cding to directoriesto enable a plugin, do:$ bash-it enable plugin <plugin name> -or- $ bash-it enable plugin allto disable a plugin, do:$ bash-it disable plugin <plugin name> -or- $ bash-it disable plugin all|1.9.3-p194| kmori-MacBook-Pro in ~○ →
おk。入り直した所、エラーもでなくなりました。やったー。
2-3分使った感じ初回の読み込みの所は若干つっかかる感じはあるもののかなりいい感じではある。
もうちょっといじってみようという気にはなる。
取り急ぎ。