Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

個人的に.bashrcに入れたい設定

More than 5 years have passed since last update.
.bashrc
#open files with the editor
alias cot='open -a Coteditor'
alias sublime='open -a Sublime\ text\ 2'

#take screen-shots as .jpg or .png?
alias screenJpg='defaults write com.apple.screencapture type jpg'
alias screenPng='defaults write com.apple.screencapture type png'

#launch seil? (PCKeyBoardHack?)
alias seil='open -a Seil'
alias qseil='killall Seil'

#use DashBoards?
alias dash-off='defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock'
alias dash-on='defaults write com.apple.dashboard mcx-disabled -boolean NO
killall Dock'

#invisible files apear?
alias visible='defaults write com.apple.finder AppleShowAllFiles -boolean true'
alias invisible='defaults write com.apple.finder AppleShowAllFiles -boolean false'

  • 触ってるソースcotやsublimeですぐ開きたい
  • スクリーンショットの設定はjpgにしたい
  • メモリ的に常駐系アプリはすぐに消したり入れたりしたい
  • finderの不可視ファイルは見たいし、見たくない

Alfredのパワーパック入れてAlfredからコマンド叩けたらかなりヤバイとおもふ。

Bashのconfigの順番とかは以下に詳しい
http://qiita.com/hirokishirai/items/5a529c8395c4b336bf31

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away