-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
OdaDaisuke
committed
Oct 7, 2018
1 parent
470bd61
commit ef90e71
Showing
4 changed files
with
267 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,20 @@ | ||
export PATH=$PATH:/usr/local/cuda/bin | ||
export DYLD_LIBRARY_PATH=/usr/local/cuda/lib:$DYLD_LIBRARY_PATH | ||
# Go | ||
export GOPATH=${HOME}/.golang | ||
export PATH=${PATH}:${GOROOT}/bin:${GOPATH}/bin | ||
export GO15VENDOREXPERIMENT=1 | ||
export PATH=$PATH:/Users/daisukeoda/.nodebrew/current/bin | ||
export PATH="$HOME/.embulk/bin:$PATH" | ||
export PATH="$HOME/Library/Python/3.6/bin:$PATH" | ||
export PATH=$PATH:/Users/daisukeoda/.golang/bin | ||
|
||
# Nim | ||
export PATH=$PATH:/Users/daisukeoda/.nimble/bin | ||
# tabtab source for serverless package | ||
# uninstall by removing these lines or running `tabtab uninstall serverless` | ||
[ -f /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash ] && . /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/serverless.bash | ||
# tabtab source for sls package | ||
# uninstall by removing these lines or running `tabtab uninstall sls` | ||
[ -f /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash ] && . /usr/local/lib/node_modules/serverless/node_modules/tabtab/.completions/sls.bash | ||
|
||
# nvm | ||
source ~/.nvm/nvm.sh | ||
# ls color | ||
export LSCOLORS=gxfxcxdxbxegedabagacad | ||
|
||
#PSQL | ||
export PGDATA=/usr/local/var/postgres | ||
|
||
# Appearance | ||
# apperance | ||
PS1="\[\e[37m\e[45m\]\t \u@\h \W\[\e[0m\]\n$ " | ||
|
||
# Alias | ||
alias desktop='cd ~/Desktop' | ||
alias godir='cd $GOPATH/src' | ||
alias downloads='cd ~/Downloads' | ||
alias download='cd ~/Downloads' | ||
alias rf='rm -rf' | ||
alias atom='open -a atom' | ||
alias la='ls -a' | ||
alias ls="ls -G" | ||
|
||
# git | ||
alias ga='git add' | ||
alias gs='git status' | ||
alias gc='git commit' | ||
alias gpso='git push origin' | ||
alias gplo='git pull origin' | ||
alias gl='git log --graph --all --format="%x09%C(cyan bold)%an%Creset%x09%C(yellow)%h%Creset %C(magenta reverse)%d%Creset %s"' | ||
alias gco='git checkout' | ||
alias gb='git branch' | ||
alias gt='git tag' | ||
alias unstage='git reset HEAD --' | ||
# alias rm='rmtrash' | ||
|
||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,227 @@ | ||
# | ||
# Sets Prezto options. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <sorin.ionescu@gmail.com> | ||
# | ||
|
||
# | ||
# General | ||
# | ||
|
||
# Set case-sensitivity for completion, history lookup, etc. | ||
# zstyle ':prezto:*:*' case-sensitive 'yes' | ||
|
||
# Color output (auto set to 'no' on dumb terminals). | ||
zstyle ':prezto:*:*' color 'yes' | ||
|
||
# Add additional directories to load prezto modules from | ||
# zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib | ||
|
||
# Set the Zsh modules to load (man zshmodules). | ||
# zstyle ':prezto:load' zmodule 'attr' 'stat' | ||
|
||
# Set the Zsh functions to load (man zshcontrib). | ||
# zstyle ':prezto:load' zfunction 'zargs' 'zmv' | ||
|
||
# Set the Prezto modules to load (browse modules). | ||
# The order matters. | ||
zstyle ':prezto:load' pmodule \ | ||
'environment' \ | ||
'terminal' \ | ||
'editor' \ | ||
'history' \ | ||
'directory' \ | ||
'spectrum' \ | ||
'utility' \ | ||
'completion' \ | ||
'syntax-highlighting' \ | ||
'autosuggestions' \ | ||
'prompt' | ||
|
||
# | ||
# Autosuggestions | ||
# | ||
|
||
# Set the query found color. | ||
zstyle ':prezto:module:autosuggestions:color' found '' | ||
|
||
# | ||
# Completions | ||
# | ||
|
||
# Set the entries to ignore in static */etc/hosts* for host completion. | ||
# zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \ | ||
# '0.0.0.0' '127.0.0.1' | ||
|
||
# | ||
# Editor | ||
# | ||
|
||
# Set the key mapping style to 'emacs' or 'vi'. | ||
zstyle ':prezto:module:editor' key-bindings 'emacs' | ||
|
||
# Auto convert .... to ../.. | ||
# zstyle ':prezto:module:editor' dot-expansion 'yes' | ||
|
||
# Allow the zsh prompt context to be shown. | ||
#zstyle ':prezto:module:editor' ps-context 'yes' | ||
|
||
# | ||
# Git | ||
# | ||
|
||
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'. | ||
# zstyle ':prezto:module:git:status:ignore' submodules 'all' | ||
|
||
# | ||
# GNU Utility | ||
# | ||
|
||
# Set the command prefix on non-GNU systems. | ||
# zstyle ':prezto:module:gnu-utility' prefix 'g' | ||
|
||
# | ||
# History Substring Search | ||
# | ||
|
||
# Set the query found color. | ||
# zstyle ':prezto:module:history-substring-search:color' found '' | ||
|
||
# Set the query not found color. | ||
# zstyle ':prezto:module:history-substring-search:color' not-found '' | ||
|
||
# Set the search globbing flags. | ||
# zstyle ':prezto:module:history-substring-search' globbing-flags '' | ||
|
||
# | ||
# macOS | ||
# | ||
|
||
# Set the keyword used by `mand` to open man pages in Dash.app | ||
# zstyle ':prezto:module:osx:man' dash-keyword 'manpages' | ||
|
||
# | ||
# Pacman | ||
# | ||
|
||
# Set the Pacman frontend. | ||
# zstyle ':prezto:module:pacman' frontend 'yaourt' | ||
|
||
# | ||
# Prompt | ||
# | ||
|
||
# Set the prompt theme to load. | ||
# Setting it to 'random' loads a random theme. | ||
# Auto set to 'off' on dumb terminals. | ||
zstyle ':prezto:module:prompt' theme 'powerline' | ||
|
||
# Set the working directory prompt display length. | ||
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion) | ||
# for longer or 'full' (with '~' expansion) for even longer prompt display. | ||
# zstyle ':prezto:module:prompt' pwd-length 'short' | ||
|
||
# Set the prompt to display the return code along with an indicator for non-zero | ||
# return codes. This is not supported by all prompts. | ||
# zstyle ':prezto:module:prompt' show-return-val 'yes' | ||
|
||
# | ||
# Python | ||
# | ||
|
||
# Auto switch the Python virtualenv on directory change. | ||
# zstyle ':prezto:module:python:virtualenv' auto-switch 'yes' | ||
|
||
# Automatically initialize virtualenvwrapper if pre-requisites are met. | ||
# zstyle ':prezto:module:python:virtualenv' initialize 'yes' | ||
|
||
# | ||
# Ruby | ||
# | ||
|
||
# Auto switch the Ruby version on directory change. | ||
# zstyle ':prezto:module:ruby:chruby' auto-switch 'yes' | ||
|
||
# | ||
# Screen | ||
# | ||
|
||
# Auto start a session when Zsh is launched in a local terminal. | ||
# zstyle ':prezto:module:screen:auto-start' local 'yes' | ||
|
||
# Auto start a session when Zsh is launched in a SSH connection. | ||
# zstyle ':prezto:module:screen:auto-start' remote 'yes' | ||
|
||
# | ||
# SSH | ||
# | ||
|
||
# Set the SSH identities to load into the agent. | ||
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github' | ||
|
||
# | ||
# Syntax Highlighting | ||
# | ||
|
||
# Set syntax highlighters. | ||
# By default, only the main highlighter is enabled. | ||
# zstyle ':prezto:module:syntax-highlighting' highlighters \ | ||
# 'main' \ | ||
# 'brackets' \ | ||
# 'pattern' \ | ||
# 'line' \ | ||
# 'cursor' \ | ||
# 'root' | ||
# | ||
# Set syntax highlighting styles. | ||
# zstyle ':prezto:module:syntax-highlighting' styles \ | ||
# 'builtin' 'bg=blue' \ | ||
# 'command' 'bg=blue' \ | ||
# 'function' 'bg=blue' | ||
# | ||
# Set syntax pattern styles. | ||
# zstyle ':prezto:module:syntax-highlighting' pattern \ | ||
# 'rm*-rf*' 'fg=white,bold,bg=red' | ||
|
||
# | ||
# Terminal | ||
# | ||
|
||
# Auto set the tab and window titles. | ||
# zstyle ':prezto:module:terminal' auto-title 'yes' | ||
|
||
# Set the window title format. | ||
# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' | ||
|
||
# Set the tab title format. | ||
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s' | ||
|
||
# Set the terminal multiplexer title format. | ||
# zstyle ':prezto:module:terminal:multiplexer-title' format '%s' | ||
|
||
# | ||
# Tmux | ||
# | ||
|
||
# Auto start a session when Zsh is launched in a local terminal. | ||
# zstyle ':prezto:module:tmux:auto-start' local 'yes' | ||
|
||
# Auto start a session when Zsh is launched in a SSH connection. | ||
# zstyle ':prezto:module:tmux:auto-start' remote 'yes' | ||
|
||
# Integrate with iTerm2. | ||
# zstyle ':prezto:module:tmux:iterm' integrate 'yes' | ||
|
||
# Set the default session name: | ||
# zstyle ':prezto:module:tmux:session' name 'YOUR DEFAULT SESSION NAME' | ||
|
||
# | ||
# Utility | ||
# | ||
|
||
# Enabled safe options. This aliases cp, ln, mv and rm so that they prompt | ||
# before deleting or overwriting files. Set to 'no' to disable this safer | ||
# behavior. | ||
# zstyle ':prezto:module:utility' safe-ops 'yes' | ||
|
Oops, something went wrong.