Merge branch 'master' into updating-configuration
This commit is contained in:
5
install
5
install
@@ -797,10 +797,9 @@ wo_ufw_setup() {
|
|||||||
|
|
||||||
wo_cheat_install() {
|
wo_cheat_install() {
|
||||||
curl -sL https://cht.sh/:cht.sh > /usr/local/bin/cht.sh
|
curl -sL https://cht.sh/:cht.sh > /usr/local/bin/cht.sh
|
||||||
|
chmod +x /usr/local/bin/cht.sh
|
||||||
|
ln -s /usr/local/bin/cht.sh /usr/local/bin/cheat
|
||||||
curl -sL https://cheat.sh/:bash_completion > /etc/bash_completion.d/cht.sh
|
curl -sL https://cheat.sh/:bash_completion > /etc/bash_completion.d/cht.sh
|
||||||
if ! grep -q "cheat" $HOME/.bashrc; then
|
|
||||||
echo "alias cheat='/usr/local/bin/cht.sh'" >> "$HOME/.bashrc"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
###
|
###
|
||||||
|
|||||||
Reference in New Issue
Block a user