Skip to content

Instantly share code, notes, and snippets.

@tmyymmt
Last active April 21, 2023 09:02
Show Gist options
  • Save tmyymmt/1b4a0e650dc9e39a16b45bda99cc9a48 to your computer and use it in GitHub Desktop.
Save tmyymmt/1b4a0e650dc9e39a16b45bda99cc9a48 to your computer and use it in GitHub Desktop.
.zshrc
setopt nonomatch
alias ll='ls -al'
alias windows='nkf -sLw --overwrite'
alias linux='nkf -wLu --overwrite'
alias emacs='emacs --no-windows'
HISTFILE=$HOME/.zsh_history # 履歴をファイルに保存する
HISTSIZE=100000 # メモリ内の履歴の数
SAVEHIST=100000 # 保存される履歴の数
setopt extended_history # 履歴ファイルに時刻を記録
function history-all { history -E 1 } # 全履歴の一覧を出力する
export PATH=~/bin:~/.local/bin:$PATH
#export MANPATH="/usr/local/man:$MANPATH"
#export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
# export LANG=en_US.UTF-8
export LANG=ja_JP.utf8
export EDITOR=emacs
eval "$(sheldon source)"
. $HOME/.asdf/asdf.sh
fpath=(${ASDF_DIR}/completions $fpath)
autoload -Uz compinit && compinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment