Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
cb37c934
Commit
cb37c934
authored
Feb 21, 2015
by
Andrew Janke
Browse files
Remove unnecessary braces.
parent
187cf07c
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/termsupport.zsh
View file @
cb37c934
...
...
@@ -63,9 +63,8 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then
# Outputs the encoded string on stdout
# Returns nonzero if encoding failed
function
_omz_urlencode
()
{
local
url_str
=
''
{
local
str
=
$1
local
url_str
=
''
# URLs must use UTF-8 encoding; convert if required
local
encoding
=
${
LC_CTYPE
/*./
}
...
...
@@ -90,7 +89,6 @@ if [[ "$TERM_PROGRAM" == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]]; then
done
echo
$url_str
}
}
# Emits the control sequence to notify Terminal.app of the cwd
function
update_terminalapp_cwd
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment