Difference between revisions of ".bashrc and .bash profile"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
export [[HISTTIMEFORMAT]]="%d/%m/%y %T " | export [[HISTTIMEFORMAT]]="%d/%m/%y %T " | ||
+ | |||
+ | |||
+ | suaws () { | ||
+ | [[export]] [[AWS_PROFILE]]=$1 | ||
+ | } | ||
== Related terms == | == Related terms == |
Revision as of 12:52, 8 August 2021
~/.bashrc ~/.bash_profile ~/.bash_aliases
.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: