mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
bashrc & zshrc: fix typo in refreshgroups alias & add alias to use incase-sensitive grep by default.
This commit is contained in:
parent
ffb00611bd
commit
bc6fdc8845
5
bashrc
5
bashrc
@ -331,7 +331,10 @@ alias myip6="curl -s6 http://icanhazip.com"
|
||||
alias wget="echo Running curl -LO instead of wget && curl -LO "
|
||||
|
||||
# Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/
|
||||
alias refrshgroups="exec su -l $USER"
|
||||
alias refreshgroups="exec su -l $USER"
|
||||
|
||||
# Incasesensitive grepping
|
||||
alias grep="grep -i"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
|
4
zshrc
4
zshrc
@ -280,8 +280,10 @@ alias myip6="curl -s6 http://icanhazip.com"
|
||||
alias wget="echo Running curl -LO instead of wget && curl -LO "
|
||||
|
||||
# Update groups without logging out. Requires entering password. Source: http://blog.edwards-research.com/2010/10/linux-refresh-group-membership-without-logging-out/
|
||||
alias refrshgroups="exec su -l $USER"
|
||||
alias refreshgroups="exec su -l $USER"
|
||||
|
||||
# Incasesensitive grepping
|
||||
alias grep="grep -i"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user