1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-04-14 23:00:45 +01:00

#382 Prevent partial execution of install.sh

This commit is contained in:
nvbn 2015-10-21 18:00:08 +08:00
parent 12a33f56bc
commit f5b0e96747

View File

@ -8,6 +8,7 @@ installed () {
hash $1 2>/dev/null
}
install_thefuck () {
# Install os dependencies:
if installed apt-get; then
# Debian/ubuntu:
@ -55,3 +56,6 @@ fi
if should_add_alias ~/.tcshrc; then
echo 'eval `thefuck --alias`' >> ~/.tcshrc
fi
}
install_thefuck