Out of the box, the new prompt depends on Nerd Fonts.
Personally I'm using "DejaVuSansMono Nerd Font Complete." There are a couple
ways around this if you'd rather: use fontconfig to merge Nerd symbols with
your preferred font, see
here
and
here;
or you can override the various PS1_CHAR_*
variables after loading
.bashrc.prompt
to use symbols already present in your font.
This file contains 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
$ lein repl | |
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: cljs.util, being replaced by: #'cljs.util/boolean? | |
Error loading cider.nrepl.middleware.test: java.lang.RuntimeException: Invalid token: ::clojure.test/once-fixtures, compiling:(cider/nrepl/middleware/test.clj:129:57) | |
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: cider.nrepl.middleware.test/wrap-test in this context, compiling:(/tmp/form-init5686818134533198598.clj:1:8221) | |
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7010) | |
at clojure.lang.Compiler.analyze(Compiler.java:6773) | |
at clojure.lang.Compiler.analyze(Compiler.java:6729) | |
at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3881) | |
at clojure.lang.Compiler.analyzeSeq(Compiler.java:7005) | |
at clojure.lang.Compiler.analyze(Compiler.java:6773) |
This file contains 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
# Dynamically load virtualenvwrapper functions to reduce shell startup | |
# time. | |
# | |
# Copyright 2012 Aron Griffis <aron@arongriffis.com> | |
# Released under the GNU GPL v3 | |
####################################################################### | |
# Python virtualenvwrapper loads really slowly, so load it on demand. | |
if [[ $(type -t workon) != function ]]; then | |
virtualenv_funcs=( workon deactivate mkvirtualenv ) |
This file contains 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 | |
# | |
# clipboard provider for neovim | |
# | |
# :help provider-clipboard | |
exec 2>> ~/clipboard-provider.out | |
set -x | |
: ${COPY_PROVIDERS:=tmux osc52} |
This file contains 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
function! EnableBracketedPaste() | |
" Enable bracketed paste everywhere. This would happen automatically on | |
" local terms, even with mosh using TERM=xterm*, but doesn't happen | |
" automatically in tmux with TERM=screen*. Setting it manually works fine. | |
if ! has("gui_running") && exists('&t_BE') && &t_BE == '' | |
let &t_BE = "\e[?2004h" " enable | |
let &t_BD = "\e[?2004l" " disable | |
let &t_PS = "\e[200~" " start | |
let &t_PE = "\e[201~" " end | |
endif |
This file contains 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 | |
# | |
# chr -- wrapper for enter-chroot to run setup after reboot | |
# | |
set -e | |
main() { | |
declare name | |
case $1 in |
This file contains 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
#!/usr/bin/env python3 | |
# | |
# reghex.py -- checker for reghex puzzle | |
# | |
# Input on stdin in the following format: | |
# | |
# XXXXXXX | |
# XXXXXXXX | |
# XXXXXXXXX | |
# XXXXXXXXXX |
This file contains 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
-- Logs begin at Sat 2018-05-05 08:59:40 EDT, end at Sat 2018-05-05 09:38:54 EDT. -- | |
May 05 09:36:22 localhost.localdomain kernel: Linux version 4.16.5-300.fc28.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 8.0.1 20180324 (Red Hat 8.0.1-0.20) (GCC)) #1 SMP Fri Apr 27 17:38:36 UTC 2018 | |
May 05 09:36:22 localhost.localdomain kernel: Command line: BOOT_IMAGE=/vmlinuz-4.16.5-300.fc28.x86_64 root=/dev/mapper/fedora_windows--obdemh7-root ro resume=/dev/mapper/fedora_windows--obdemh7-swap rd.lvm.lv=fedora_windows-obdemh7/root rd.lvm.lv=fedora_windows-obdemh7/swap rhgb quiet LANG=en_US.UTF-8 | |
May 05 09:36:22 localhost.localdomain kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' | |
May 05 09:36:22 localhost.localdomain kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' | |
May 05 09:36:22 localhost.localdomain kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' | |
May 05 09:36:22 localhost.localdomain kernel: x86/fpu: Supporting XSAVE feature 0x008: 'MPX |
This file contains 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
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.16.5-300.fc28.x86_64] (local build) | |
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org | |
=== START OF INFORMATION SECTION === | |
Model Number: INTEL SSDPEKKW512G8 | |
Serial Number: BTHH807007N4512D |
This file contains 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
#!/usr/bin/env python3 | |
from collections import defaultdict, namedtuple | |
import functools | |
from pprint import pformat, pprint | |
import sys | |
Y = 2019 | |
N = 16 |