When you run
update_terminal_cwd is never defined and after every command you get the error message
bash: update_terminal_cwd: command not found making the shell unusable.
The simplest solution is to define
update_terminal_cwd when it isn’t defined.
Here is the code:
if [ -z "$(type -t update_terminal_cwd)" ] || [ "$(type -t update_terminal_cwd)" != "function" ]; then
Thanks to Jon and UnwashedMeme I’ve got the best shell-based Git IDE could have ever imaged! And it is based on Emacs 😄😮.
Continue reading “(Emacs+Org-Mode) Personal Magit From The Terminal”
Here is the second grind from the Hario Skerton Pro at the 13th click.
After brewing for 4m in the French Press it smelled and tasted great.
My desk has 3 monitor on it—two external and one built into the Mac. They are used like this:
- Top left
- Top right
- Pulse SMS
I tried to keep it simple but it is still easy to forget which application that I’m working with. I wanted a way to highlight the window that had focus and I found it with HazeOver — Distraction Dimmer for Mac.
Continue reading “(macOS) Handling Too Many Application Windows Overload on macOS”
The IBM AS/400 (aka iSeries) is a combined hardware application server platform. Instead of worrying about the next hot new framework, you have everything that you need to get business done. It is really quite nice in that regard.
Great news: Emacs runs on it.
“Forgive and be committed to loving-kindness toward yourself”.
Is there anything else worth doing?
My friend has a free lecture tonight. It is about dealing conversations that go totally wrong. For example, you start out having a nice conversation over the 4th of July weekend and next thing you know the topic of favorite football teams come up. Things just went from casual to serious. Then since the conversation is already going so well somebody changes it to public policies regarding controversial topics. Things just went from serious to critical. Ouch, that isn’t what anybody intended, but it is easy to recover from this.
My friend has a free lecture tonight about how to turn these really intense and downright angry conversations back to where they began: two passionate people who want to share what they value and feel with people who they respect and care for. Check out how—it is possible for all of us immediately.
I always forget a few grammar rules and can’t seem to get them remembered so I wrote an Elisp snippet to help me remember. Langtool catches this but it isn’t worth waiting. It seems silly to me to write a reminder, but, I bet hundreds of us Emacs users face this. The definition is my own, and includes my opinion about how not to use both words!
(defun affect-vs-effect-explanation ()
"Definition and example of the most frequent use of Affect vs. Effect."
(let* ((title "Affect Versus Effect")
(sep (make-string (length title) ?=))
(buf (get-buffer-create (concat "*" title "*"))))
(insert (concat title "\n"))
(insert (concat sep "\n\n"))
(insert "Affect is a verb. It means \"to have influence upon\". In the present tense
affect is followed by a noun in the form of \"X affects Y\". For example
\"Choosing between tabs or spaces for indentation affects our happiness.\"
In the past tense it is followed by a preposition before the noun.
For example \"Most people are deeply affected by the their choice between
using tabs or spaces for indentation.\"
Effect is a noun. It is an outcome or result of a verb. For example
\"Choosing spaces for indentation had a positive effect on her happiness.\"
There are other definitions for affect and effect and you probably
shouldn't use them.")
(setq buffer-read-only t)))
I always thought that it required hexl-mode. Nope.
find-file-literally. Very cool. #+end_src