Skip to content

Instantly share code, notes, and snippets.

View blaenk's full-sized avatar

Jorge Israel Peña blaenk

  • Los Angeles, California
  • 22:43 (UTC -07:00)
View GitHub Profile
--- iterm.zsh 2018-12-27 11:08:46.000000000 -0800
+++ iterm.patched.zsh 2018-12-27 11:09:20.000000000 -0800
@@ -103,7 +103,7 @@
ITERM2_SHOULD_DECORATE_PROMPT=""
# Add our escape sequences just before the prompt is shown.
- if [[ $PS1 == *"$(iterm2_prompt_mark)"* ]]
+ if [[ $PS1 == *'$(iterm2_prompt_mark)'* ]]
then
PS1="$PS1%{$(iterm2_prompt_end)%}"

Keybase proof

I hereby claim:

  • I am blaenk on github.
  • I am blaenk (https://keybase.io/blaenk) on keybase.
  • I have a public key whose fingerprint is 0324 9632 F22C 4F6E FA62 0DE9 5329 FB13 CBCA D5BE

To claim this, I am signing this object:

import System.Environment (getArgs)
import Control.Monad (mapM_)
fizzOrBuzz :: Integer -> String
fizzOrBuzz n
| n `mod` 15 == 0 = "FizzBuzz"
| n `mod` 3 == 0 = "Fizz"
| n `mod` 5 == 0 = "Buzz"
| otherwise = show n