Removing unnecessary comments
This commit is contained in:
parent
e2b380a768
commit
795a26c278
1 changed files with 0 additions and 4 deletions
|
@ -2,8 +2,6 @@
|
||||||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
# TODO: This function works great in here, but I'd like also like for it to set
|
|
||||||
# the option to the default if it's not set too. I'll get to it soon.
|
|
||||||
get-tmux-option() {
|
get-tmux-option() {
|
||||||
local option value default
|
local option value default
|
||||||
option="$1"
|
option="$1"
|
||||||
|
@ -13,8 +11,6 @@ main() {
|
||||||
if [ -n "$value" ]; then
|
if [ -n "$value" ]; then
|
||||||
echo "$value"
|
echo "$value"
|
||||||
else
|
else
|
||||||
# README: Set the default option if it's not set originally.
|
|
||||||
tmux set-option -gq "${option}" "${default}"
|
|
||||||
echo "$default"
|
echo "$default"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue