Difference between revisions of ".bashrc and .bash profile"
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
* <code>[[suaws]]</code> | * <code>[[suaws]]</code> | ||
* <code>[[source (command)]]</code> | * <code>[[source (command)]]</code> | ||
− | + | * <code>[[bash -i]]</code> | |
− | + | * <code>[[bash --rcfile]]</code> | |
== See also == | == See also == |
Revision as of 10:44, 10 January 2024
.bash_profile
example
set -o vi . ~/.bash_aliases export HISTTIMEFORMAT="%d/%m/%y %T "
suaws () { export AWS_PROFILE=$1 }
Related terms
.profile
and.zprofile
alias
:viconfig, viprofile
.hushlogin
PS1
,PATH
su -
suaws
source (command)
bash -i
bash --rcfile
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: