Difference between revisions of ".bashrc and .bash profile"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
. ~/[[.bash_aliases]] | . ~/[[.bash_aliases]] | ||
export [[HISTTIMEFORMAT]]="%d/%m/%y %T " | export [[HISTTIMEFORMAT]]="%d/%m/%y %T " | ||
− | |||
− | |||
[[suaws]] () { | [[suaws]] () { |
Revision as of 13:21, 25 August 2021
.bash_profile
example
set -o vi . ~/.bash_aliases export HISTTIMEFORMAT="%d/%m/%y %T "
suaws () { export AWS_PROFILE=$1 }
Related terms
See also
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
zsh
,~/.zshrc
,.zsh_history
,.zprofile
,zshbuiltins, setenv, setopt
,bindkey -e, zshcompsys, compdef, autoload
,oh-my-zsh, prezto, fc, compinit, autoload, oh-my-zsh
Advertising: