Commit cb37c934 authored by Andrew Janke's avatar Andrew Janke
Browse files

Remove unnecessary braces.

parent 187cf07c
...@@ -63,9 +63,8 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then ...@@ -63,9 +63,8 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then
# Outputs the encoded string on stdout # Outputs the encoded string on stdout
# Returns nonzero if encoding failed # Returns nonzero if encoding failed
function _omz_urlencode() { function _omz_urlencode() {
local url_str=''
{
local str=$1 local str=$1
local url_str=''
# URLs must use UTF-8 encoding; convert if required # URLs must use UTF-8 encoding; convert if required
local encoding=${LC_CTYPE/*./} local encoding=${LC_CTYPE/*./}
...@@ -90,7 +89,6 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then ...@@ -90,7 +89,6 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then
done done
echo $url_str echo $url_str
} }
}
# Emits the control sequence to notify Terminal.app of the cwd # Emits the control sequence to notify Terminal.app of the cwd
function update_terminalapp_cwd() { function update_terminalapp_cwd() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment