Skip to content

Instantly share code, notes, and snippets.

@yoshiki-0428
Last active September 25, 2020 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshiki-0428/29cce6288536afcc8d16f4a2ebf732b7 to your computer and use it in GitHub Desktop.
Save yoshiki-0428/29cce6288536afcc8d16f4a2ebf732b7 to your computer and use it in GitHub Desktop.
# エイリアスの設定
# ls(カラー表示)
alias vi='vim'
alias d='docker'
alias dc='docker-compose'
#alias gb='git branch'
#alias gc='git checkout'
#alias gcb='git checkout -b'
#alias git st='git status'
#alias gst='git status'
#alias gcm='git checkout master'
#alias gpom='git pull origin master'
#alias gpo='git pull origin'
#alias gmm='git merge master'
alias ls='ls -G'
alias ll='ls -lG'
alias la='ls -laG'
# プロンプトの設定
PS1='\[\e[34m\]\w \[\e[37m\]\$\[\e[0m\] '
cdls ()
{
\cd "$@" && ls
}
alias cd="cdls"
cdlspwd ()
{
\cdls "$@" && pwd
}
alias cdls="cdlspwd"
[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc
export PATH=$PATH:/Users/YOSHIKI/.nodebrew/current/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment