Change indentation to tabs

This commit is contained in:
Bruno Sutic committed 2014-07-17 20:36:54 +02:00
1 parent c1304d1da0
commit 89ea56f553
4 files changed
+51 -51

No files matched your search

+29 -29
View File
@@ -1,46 +1,46 @@
#!/usr/bin/env bash
set_tmux_conf_helper() {
> ~/.tmux.conf # empty filename
while read -r line; do
echo $line >> ~/.tmux.conf
done
> ~/.tmux.conf # empty filename
while read -r line; do
echo $line >> ~/.tmux.conf
done
}
create_test_plugin_helper() {
local plugin_path="$HOME/.tmux/plugins/tmux_test_plugin/"
rm -rf $plugin_path
mkdir -p $plugin_path
local plugin_path="$HOME/.tmux/plugins/tmux_test_plugin/"
rm -rf $plugin_path
mkdir -p $plugin_path
while read -r line; do
echo $line >> "$plugin_path/test_plugin.tmux"
done
chmod +x "$plugin_path/test_plugin.tmux"
while read -r line; do
echo $line >> "$plugin_path/test_plugin.tmux"
done
chmod +x "$plugin_path/test_plugin.tmux"
}
teardown_helper() {
rm ~/.tmux.conf
rm -rf ~/.tmux/
tmux kill-server >/dev/null 2>&1
rm ~/.tmux.conf
rm -rf ~/.tmux/
tmux kill-server >/dev/null 2>&1
}
check_dir_exists_helper() {
local dir_path=$1
if [ -d "$dir_path" ]; then
return 0
else
return 1
fi
local dir_path=$1
if [ -d "$dir_path" ]; then
return 0
else
return 1
fi
}
exit_value_helper() {
if $FAIL; then
echo
echo "Test failed"
exit 1
else
echo
echo "Test finished successfully"
exit 0
fi
if $FAIL; then
echo
echo "Test failed"
exit 1
else
echo
echo "Test finished successfully"
exit 0
fi
}