bash - Bashの設定

概要

デフォルトで使用する Bash の設定。

設定(.bash_profile)

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH

LANG=ja_JP.UTF-8
export LANG

export PS1='[\u \W]\$ '

alias la='ls -a'
alias ll='ls -alh'
alias tree='tree -N'
alias cls='clear'
alias ..='cd ../'

修正を反映させる

> source .bash_profile