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:
parent
12a33f56bc
commit
f5b0e96747
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user