commit
606c3a2b86
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Adds $1 to ~/.zshrc if not already present
|
# Adds $1 to ~/.zshrc if not already present
|
||||||
function _add_to_config {
|
function _add_to_config {
|
||||||
if ! grep "$1" ~/.zshrv > /dev/null; then
|
if ! grep "$1" ~/.zshrc > /dev/null; then
|
||||||
echo "$1" >> ~/.zshrc
|
echo "$1" >> ~/.zshrc
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue