Skip to content
This repository was archived by the owner on Mar 3, 2020. It is now read-only.

Commit f539573

Browse files
committed
shell cleanups
1 parent 9ca4880 commit f539573

5 files changed

Lines changed: 51 additions & 173 deletions

File tree

‎atom.symlink/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
!*.less
55

66
.apm
7+
.node-gyp
78
blob-store
89
compile-cache
910
packages

‎hyper/hyper.js.symlink‎

Lines changed: 34 additions & 147 deletions
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,39 @@
1-
// Future versions of Hyper may add additional config options,
2-
// which will not automatically be merged into this file.
3-
// See https://hyper.is#cfg for all currently supported options.
4-
51
module.exports = {
6-
config: {
7-
opacity: 0.85,
8-
9-
// choose either `'stable'` for receiving highly polished,
10-
// or `'canary'` for less polished but more frequent updates
11-
updateChannel: 'stable',
12-
13-
// default font size in pixels for all tabs
14-
fontSize: 13,
15-
16-
// font family with optional fallbacks
17-
fontFamily: 'Hack, monospace',
18-
19-
// default font weight: 'normal' or 'bold'
20-
fontWeight: 'normal',
21-
22-
// font weight for bold characters: 'normal' or 'bold'
23-
fontWeightBold: 'bold',
24-
25-
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
26-
cursorColor: 'rgba(248,28,229,0.8)',
27-
28-
// terminal text color under BLOCK cursor
29-
cursorAccentColor: '#000',
30-
31-
// `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
32-
cursorShape: 'BLOCK',
33-
34-
// set to `true` (without backticks and without quotes) for blinking cursor
35-
cursorBlink: true,
36-
37-
// color of the text
38-
foregroundColor: '#fff',
39-
40-
// terminal background color
41-
// opacity is only supported on macOS
42-
backgroundColor: '#000',
43-
44-
// terminal selection color
45-
selectionColor: 'rgba(248,28,229,0.3)',
46-
47-
// border color (window, tabs)
48-
borderColor: '#333',
49-
50-
// custom CSS to embed in the main window
51-
css: '',
52-
53-
// custom CSS to embed in the terminal window
54-
termCSS: '',
55-
56-
// if you're using a Linux setup which show native menus, set to false
57-
// default: `true` on Linux, `true` on Windows, ignored on macOS
58-
showHamburgerMenu: '',
59-
60-
// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
61-
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
62-
// default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
63-
showWindowControls: '',
64-
65-
// custom padding (CSS format, i.e.: `top right bottom left`)
66-
padding: '12px 14px',
67-
68-
// the full list. if you're going to provide the full color palette,
69-
// including the 6 x 6 color cubes and the grayscale map, just provide
70-
// an array here instead of a color map object
71-
colors: {
72-
black: '#000000',
73-
red: '#C51E14',
74-
green: '#1DC121',
75-
yellow: '#C7C329',
76-
blue: '#0A2FC4',
77-
magenta: '#C839C5',
78-
cyan: '#20C5C6',
79-
white: '#C7C7C7',
80-
lightBlack: '#686868',
81-
lightRed: '#FD6F6B',
82-
lightGreen: '#67F86F',
83-
lightYellow: '#FFFA72',
84-
lightBlue: '#6A76FB',
85-
lightMagenta: '#FD7CFC',
86-
lightCyan: '#68FDFE',
87-
lightWhite: '#FFFFFF',
2+
config: {
3+
updateChannel: 'stable',
4+
fontSize: 13,
5+
fontFamily: 'Hack, monospace',
6+
fontWeight: 'normal',
7+
fontWeightBold: 'bold',
8+
cursorColor: 'rgba(248,28,229,0.8)',
9+
cursorAccentColor: '#000',
10+
cursorShape: 'BLOCK',
11+
cursorBlink: false,
12+
foregroundColor: '#fff',
13+
backgroundColor: '#000',
14+
selectionColor: 'rgba(248,28,229,0.3)',
15+
borderColor: '#333',
16+
css: '',
17+
termCSS: '',
18+
showHamburgerMenu: '',
19+
showWindowControls: '',
20+
padding: '12px 14px',
21+
shell: '',
22+
shellArgs: ['--login'],
23+
env: {},
24+
bell: false,
25+
copyOnSelect: false,
26+
defaultSSHApp: true,
8827
},
8928

90-
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
91-
// if left empty, your system's login shell will be used by default
92-
//
93-
// Windows
94-
// - Make sure to use a full path if the binary name doesn't work
95-
// - Remove `--login` in shellArgs
96-
//
97-
// Bash on Windows
98-
// - Example: `C:\\Windows\\System32\\bash.exe`
99-
//
100-
// PowerShell on Windows
101-
// - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
102-
shell: '',
103-
104-
// for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
105-
// by default `['--login']` will be used
106-
shellArgs: ['--login'],
107-
108-
// for environment variables
109-
env: {},
110-
111-
// set to `false` for no bell
112-
bell: false,
29+
plugins: [
30+
"hyper-pane",
31+
"hyper-search",
32+
"hyper-opacity",
33+
"hyper-wal"
34+
],
11335

114-
// if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
115-
copyOnSelect: false,
116-
117-
// if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
118-
defaultSSHApp: true,
119-
120-
// if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
121-
// selection is present (`true` by default on Windows and disables the context menu feature)
122-
// quickEdit: true,
123-
124-
// URL to custom bell
125-
// bellSoundURL: 'http://example.com/bell.mp3',
126-
127-
// for advanced config flags please refer to https://hyper.is/#cfg
128-
},
129-
130-
// a list of plugins to fetch and install from npm
131-
// format: [@org/]project[#version]
132-
// examples:
133-
// `hyperpower`
134-
// `@company/project`
135-
// `project#1.0.1`
136-
plugins: [
137-
"hyper-pane",
138-
"hyper-search",
139-
"hyper-opacity",
140-
"hyper-dracula"
141-
],
142-
143-
// in development, you can create a directory under
144-
// `~/.hyper_plugins/local/` and include it here
145-
// to load it and avoid it being `npm install`ed
146-
localPlugins: [],
147-
148-
keymaps: {
149-
// Example
150-
// 'window:devtools': 'cmd+alt+o',
151-
},
36+
opacity: 0.85,
37+
localPlugins: [],
38+
keymaps: {}
15239
};

‎python/pyenv.zsh‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
1-
# init according to man page
2-
if (( $+commands[pyenv] ))
3-
then
4-
export PYENV_ROOT=/usr/local/var/pyenv
5-
eval "$(pyenv init -)"
6-
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi
7-
fi
1+
export PYENV_ROOT=/usr/local/var/pyenv
2+
eval "$(/usr/local/bin/pyenv init -)"

‎system/aliases.zsh‎

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# grc overides for ls
2-
# Made possible through contributions from generous benefactors like
3-
# `brew install coreutils`
4-
if $(gls &>/dev/null)
5-
then
6-
alias ls="gls -F --color"
7-
alias l="gls -lAh --color"
8-
alias ll="gls -l --color"
9-
alias la='gls -A --color'
10-
fi
1+
alias ls="exa"
2+
alias ll="exa -l"
3+
alias la="exa -a"
4+
alias lg="exa --long --grid"
5+
6+
alias tree="exa --tree"
117

128
alias dm="docker-machine"
139
alias db="docker build -t \"${PWD##*/}\" ."
14-
alias apu="apm update --no-confirm"
1510
alias docker-purge="docker rm -f $(docker ps -qa); docker rmi -f $(docker images -qa)"
16-
alias tectonic-connect='kubectl get pods -l tectonic-app=console -o template --template="{{range.items}}{{.metadata.name}}{{end}}" | xargs -i{} kubectl port-forward {} 9000'
17-
alias wpu="wal -i $HOME/Pictures/Wallpaper/bokeh -x -o wal-set"
11+
12+
alias apu="apm update --no-confirm"
13+
alias wpu="wal -i $HOME/Pictures/Wallpaper/pywal"
14+
(cat ~/.cache/wal/sequences &)
15+
16+
17+

‎zsh/zshrc.symlink‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ done
4040

4141
unset config_files
4242

43-
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
44-
45-
(wal -r &)
46-
47-
autoload -U promptinit; promptinit
48-
4943
# Spaceship options
5044
SPACESHIP_PROMPT_DEFAULT_PREFIX=""
5145
SPACESHIP_NODE_SHOW=false
@@ -54,4 +48,5 @@ SPACESHIP_NODE_SHOW=false
5448
autoload -U promptinit; promptinit
5549
prompt spaceship
5650

51+
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
5752

0 commit comments

Comments
 (0)