Last active
October 31, 2021 00:18
-
-
Save super-dog-human/e8ab0f95f9debe1a7e5bfd047a404ae7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
.zshrc | |
``` | |
export LANG='ja_JP.UTF-8' | |
export PATH=/usr/local/git/bin:/usr/local/sbin:$PATH | |
autoload -Uz vcs_info | |
precmd_vcs_info() { vcs_info } | |
precmd_functions+=( precmd_vcs_info ) | |
setopt prompt_subst | |
PROMPT=\$vcs_info_msg_0_'%# ' | |
zstyle ':vcs_info:git:*' formats '%b' | |
alias ls="ls -alG" | |
alias tree="tree -C" | |
alias cd="cdls" | |
function cdls() { | |
\cd $1; | |
ls; | |
} | |
alias be="bundle exec" | |
export LSCOLORS=gxfxcxdxbxegedabagacad | |
alias dk="docker" | |
alias dkc="docker compose" | |
source ~/.zsh/completion/git-prompt.sh | |
fpath=(~/.zsh/completion $fpath) | |
autoload -Uz compinit && compinit | |
GIT_PS1_SHOWDIRTYSTATE=true | |
GIT_PS1_SHOWUNTRACKEDFILES=true | |
GIT_PS1_SHOWSTASHSTATE=true | |
GIT_PS1_SHOWUPSTREAM=auto | |
PROMPT=$'%F{green}%B%n%b%f:%F{075}%~%f %F{009}$(__git_ps1 "(%s)")%f\n\$ ' | |
``` | |
~/.vimrc | |
``` | |
syntax on | |
colorscheme monokai | |
set number | |
set tabstop=2 shiftwidth=2 softtabstop=0 | |
set expandtab | |
set autoindent smartindent | |
set whichwrap=b,s,h,s,<,>,[,] | |
set wrapscan | |
set nowrap | |
set listchars=tab:>\ | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment