mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Variables here should be marked local.
This commit is contained in:
parent
c5404482a5
commit
1a5e86d9a6
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@
|
|||
# Original found at http://www.shellperson.net/sprunge-pastebin-script/
|
||||
|
||||
sprunge () {
|
||||
local url syntax
|
||||
|
||||
if [[ -t 0 ]]; then
|
||||
if [[ "$*" ]]; then
|
||||
if [[ -f "$*" ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue