This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defun eshell-default-prompt-function () | |
| (interactive) | |
| (concat | |
| (system-name) ":" | |
| (propertize (car (last (split-string (pwd-repl-home (eshell/pwd)) "/"))) 'face | |
| `(:foreground "#cdcd00")) | |
| (or (curr-dir-git-branch-string (eshell/pwd))) | |
| (propertize "# " 'face 'default))) | |
| (defun eshell-short-prompt-function () |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defun org-latex-export-region-to-pdf (beg end &optional no-declutter) | |
| "Export the current region to pdf, prompting for output filename. | |
| This can be done by narrowing region, but it's a bit slow, and | |
| the output is ugly and cluttered. More importantly, it also | |
| writes the pdf file for the region using the name of the | |
| original file, which is obviously annoying. | |
| with NO-DECLUTTER non-nil, don't declutter the pdf output." | |
| (interactive (if (region-active-p) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| GCC_VERSION="5.2.0" | |
| WORKDIR="$HOME/src/" | |
| INSTALLDIR="/platform" | |
| ## NOTE: XCode must be installed (through App Store) and the following run to install command-line tools. | |
| ## THIS IS IMPORTANT! Among other things, it creates '/usr/include' and installs the system header files. | |
| # xcode-select --install |
OlderNewer