Compare commits
10 commits
Author | SHA1 | Date | |
---|---|---|---|
odrling | 4badfcbffd | ||
odrling | 7f4af546fc | ||
odrling | 7681715b6d | ||
odrling | 92e0050687 | ||
odrling | 5ea3d1e9fe | ||
odrling | 8fab92b2b2 | ||
odrling | c0e469061f | ||
odrling | 648bf050ea | ||
odrling | eeadb9a552 | ||
odrling | 4ac6949dfb |
10
.antibody/plugins
Normal file
10
.antibody/plugins
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
robbyrussell/oh-my-zsh path:lib/spectrum.zsh
|
||||
robbyrussell/oh-my-zsh path:plugins/pass
|
||||
robbyrussell/oh-my-zsh path:plugins/ssh-agent
|
||||
robbyrussell/oh-my-zsh path:plugins/adb
|
||||
|
||||
zsh-users/zsh-autosuggestions
|
||||
zsh-users/zsh-completions
|
||||
zsh-users/zsh-syntax-highlighting
|
||||
|
1
.config/fish/completions/fisher.fish
Normal file
1
.config/fish/completions/fisher.fish
Normal file
|
@ -0,0 +1 @@
|
|||
fisher --complete
|
7
.config/fish/config.fish
Normal file
7
.config/fish/config.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
abbr --add mpod "mpv --no-video"
|
||||
abbr --add mstream "mpv --no-resume-playback"
|
||||
abbr --add venv "source ~/.venv/bin/activate.fish"
|
||||
abbr --add vi "vim"
|
||||
abbr --add eupdate "sudo emerge --sync ;and sudo emerge -u1 portage ;and sudo emerge -uavD @world"
|
||||
|
24
.config/fish/fish_colors
Normal file
24
.config/fish/fish_colors
Normal file
|
@ -0,0 +1,24 @@
|
|||
normal
|
||||
--bold
|
||||
cyan
|
||||
brblue
|
||||
red
|
||||
brred
|
||||
bryellow --bold
|
||||
bryellow
|
||||
brmagenta
|
||||
yellow
|
||||
555 brblack
|
||||
brgreen
|
||||
--underline
|
||||
green
|
||||
red
|
||||
--background=brblue
|
||||
bryellow --background=brblack
|
||||
white --bold --background=brblack
|
||||
white --bold --underline
|
||||
|
||||
B3A06D yellow
|
||||
brwhite --background=cyan
|
||||
--bold
|
||||
normal
|
1
.config/fish/fisherman/git_util
Submodule
1
.config/fish/fisherman/git_util
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 41590e75979f98718bf6e0a56ef7f0db5cc41120
|
1
.config/fish/fisherman/host_info
Submodule
1
.config/fish/fisherman/host_info
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit b3f8936a9f3bbb735e0b9e9a4862d8d0d916b02e
|
1
.config/fish/fisherman/humanize_duration
Submodule
1
.config/fish/fisherman/humanize_duration
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c1298e59544110d69e813a7ccbd74c8382748e08
|
1
.config/fish/fisherman/last_job_id
Submodule
1
.config/fish/fisherman/last_job_id
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit c7a51ad07839ee79743671e43ccfb55369d65a52
|
1
.config/fish/fisherman/metro
Submodule
1
.config/fish/fisherman/metro
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 647d4bd3c33439cf8942a2e03dc24e59aeff895a
|
1
.config/fish/fisherman/pisces
Submodule
1
.config/fish/fisherman/pisces
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 7bd15e9e9182c5696484cd3636a9e3ea8a68966e
|
1
.config/fish/fisherman/pwd_info
Submodule
1
.config/fish/fisherman/pwd_info
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 1c57034a27dbe6c8efee156ac1176f28c72cbd34
|
1
.config/fish/fisherman/pwd_is_home
Submodule
1
.config/fish/fisherman/pwd_is_home
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit b94605ca5da237f225f85f2e96b879f546ff0dd6
|
1
.config/fish/fisherman/segment
Submodule
1
.config/fish/fisherman/segment
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 53d2e58c942cfe26e592716b940bb84cb87179c0
|
1
.config/fish/functions/_pisces_append.fish
Symbolic link
1
.config/fish/functions/_pisces_append.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_append.fish
|
1
.config/fish/functions/_pisces_backspace.fish
Symbolic link
1
.config/fish/functions/_pisces_backspace.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_backspace.fish
|
1
.config/fish/functions/_pisces_bind_pair.fish
Symbolic link
1
.config/fish/functions/_pisces_bind_pair.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_bind_pair.fish
|
1
.config/fish/functions/_pisces_complete.fish
Symbolic link
1
.config/fish/functions/_pisces_complete.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_complete.fish
|
1
.config/fish/functions/_pisces_jump.fish
Symbolic link
1
.config/fish/functions/_pisces_jump.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_jump.fish
|
1
.config/fish/functions/_pisces_lookup.fish
Symbolic link
1
.config/fish/functions/_pisces_lookup.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_lookup.fish
|
1
.config/fish/functions/_pisces_remove.fish
Symbolic link
1
.config/fish/functions/_pisces_remove.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_remove.fish
|
1
.config/fish/functions/_pisces_skip.fish
Symbolic link
1
.config/fish/functions/_pisces_skip.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pisces/functions/_pisces_skip.fish
|
60
.config/fish/functions/copy-fish_prompt.fish
Normal file
60
.config/fish/functions/copy-fish_prompt.fish
Normal file
|
@ -0,0 +1,60 @@
|
|||
# name: clearance
|
||||
# ---------------
|
||||
# Based on idan. Display the following bits on the left:
|
||||
# - Virtualenv name (if applicable, see https://github.com/adambrenecki/virtualfish)
|
||||
# - Current directory name
|
||||
# - Git branch and dirty state (if inside a git repo)
|
||||
|
||||
function _git_branch_name
|
||||
echo (command git symbolic-ref HEAD ^/dev/null | sed -e 's|^refs/heads/||')
|
||||
end
|
||||
|
||||
function _git_is_dirty
|
||||
echo (command git status -s --ignore-submodules=dirty ^/dev/null)
|
||||
end
|
||||
|
||||
function fish_prompt
|
||||
set -l last_status $status
|
||||
|
||||
set -l cyan (set_color cyan)
|
||||
set -l yellow (set_color yellow)
|
||||
set -l red (set_color red)
|
||||
set -l blue (set_color blue)
|
||||
set -l green (set_color green)
|
||||
set -l normal (set_color normal)
|
||||
|
||||
set -l cwd $blue(pwd | sed "s:^$HOME:~:")
|
||||
|
||||
# Output the prompt, left to right
|
||||
|
||||
# Add a newline before new prompts
|
||||
echo -e ''
|
||||
|
||||
# Display [venvname] if in a virtualenv
|
||||
if set -q VIRTUAL_ENV
|
||||
echo -n -s (set_color -b cyan black) '[' (basename "$VIRTUAL_ENV") ']' $normal ' '
|
||||
end
|
||||
|
||||
# Print pwd or full path
|
||||
echo -n -s $cwd $normal
|
||||
|
||||
# Show git branch and status
|
||||
if [ (_git_branch_name) ]
|
||||
set -l git_branch (_git_branch_name)
|
||||
|
||||
if [ (_git_is_dirty) ]
|
||||
set git_info '(' $yellow $git_branch "±" $normal ')'
|
||||
else
|
||||
set git_info '(' $green $git_branch $normal ')'
|
||||
end
|
||||
echo -n -s ' · ' $git_info $normal
|
||||
end
|
||||
|
||||
set -l prompt_color $red
|
||||
if test $last_status = 0
|
||||
set prompt_color $normal
|
||||
end
|
||||
|
||||
# Terminate with a nice prompt char
|
||||
echo -e -n -s $prompt_color '⟩ ' $normal
|
||||
end
|
3
.config/fish/functions/dots.fish
Normal file
3
.config/fish/functions/dots.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function dots
|
||||
git --git-dir="$HOME/.dots" --work-tree="$HOME" $argv;
|
||||
end
|
4
.config/fish/functions/fish_greeting.fish
Normal file
4
.config/fish/functions/fish_greeting.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
function fish_greeting -d "What's up, fish?"
|
||||
uname -nmsr
|
||||
uptime
|
||||
end
|
1
.config/fish/functions/fish_mode_prompt.fish
Symbolic link
1
.config/fish/functions/fish_mode_prompt.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/metro/fish_mode_prompt.fish
|
1
.config/fish/functions/fish_prompt.fish
Symbolic link
1
.config/fish/functions/fish_prompt.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/metro/fish_prompt.fish
|
1
.config/fish/functions/fish_right_prompt.fish
Symbolic link
1
.config/fish/functions/fish_right_prompt.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/metro/fish_right_prompt.fish
|
17
.config/fish/functions/fish_user_key_bindings.fish
Normal file
17
.config/fish/functions/fish_user_key_bindings.fish
Normal file
|
@ -0,0 +1,17 @@
|
|||
function fish_user_key_bindings
|
||||
### pisces ###
|
||||
set -l _pisces_bind_mode default
|
||||
switch $fish_key_bindings
|
||||
case 'fish_vi_key_bindings' 'fish_hybrid_key_bindings'
|
||||
set _pisces_bind_mode insert
|
||||
end
|
||||
set -q pisces_pairs
|
||||
or set -U pisces_pairs '(,)' '[,]' '{,}' '","' "','"
|
||||
for pair in $pisces_pairs
|
||||
_pisces_bind_pair $_pisces_bind_mode (string split -- ',' $pair)
|
||||
end
|
||||
bind -M $_pisces_bind_mode \b _pisces_backspace
|
||||
bind -M $_pisces_bind_mode \177 _pisces_backspace
|
||||
bind -M $_pisces_bind_mode \t _pisces_complete
|
||||
### pisces ###
|
||||
end
|
1
.config/fish/functions/git_ahead.fish
Symbolic link
1
.config/fish/functions/git_ahead.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_ahead.fish
|
1
.config/fish/functions/git_branch_name.fish
Symbolic link
1
.config/fish/functions/git_branch_name.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_branch_name.fish
|
1
.config/fish/functions/git_is_detached_head.fish
Symbolic link
1
.config/fish/functions/git_is_detached_head.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_detached_head.fish
|
1
.config/fish/functions/git_is_dirty.fish
Symbolic link
1
.config/fish/functions/git_is_dirty.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_dirty.fish
|
1
.config/fish/functions/git_is_empty.fish
Symbolic link
1
.config/fish/functions/git_is_empty.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_empty.fish
|
1
.config/fish/functions/git_is_repo.fish
Symbolic link
1
.config/fish/functions/git_is_repo.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_repo.fish
|
1
.config/fish/functions/git_is_staged.fish
Symbolic link
1
.config/fish/functions/git_is_staged.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_staged.fish
|
1
.config/fish/functions/git_is_stashed.fish
Symbolic link
1
.config/fish/functions/git_is_stashed.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_stashed.fish
|
1
.config/fish/functions/git_is_tag.fish
Symbolic link
1
.config/fish/functions/git_is_tag.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_tag.fish
|
1
.config/fish/functions/git_is_touched.fish
Symbolic link
1
.config/fish/functions/git_is_touched.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_is_touched.fish
|
1
.config/fish/functions/git_repository_root.fish
Symbolic link
1
.config/fish/functions/git_repository_root.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_repository_root.fish
|
1
.config/fish/functions/git_untracked_files.fish
Symbolic link
1
.config/fish/functions/git_untracked_files.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/git_util/git_untracked_files.fish
|
4
.config/fish/functions/grep.fish
Normal file
4
.config/fish/functions/grep.fish
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Defined in - @ line 0
|
||||
function grep --description 'alias grep=ag'
|
||||
ag $argv;
|
||||
end
|
1
.config/fish/functions/host_info.fish
Symbolic link
1
.config/fish/functions/host_info.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/host_info/host_info.fish
|
1
.config/fish/functions/humanize_duration.fish
Symbolic link
1
.config/fish/functions/humanize_duration.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/humanize_duration/humanize_duration.fish
|
1
.config/fish/functions/last_job_id.fish
Symbolic link
1
.config/fish/functions/last_job_id.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/last_job_id/last_job_id.fish
|
1
.config/fish/functions/pwd_info.fish
Symbolic link
1
.config/fish/functions/pwd_info.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pwd_info/pwd_info.fish
|
1
.config/fish/functions/pwd_is_home.fish
Symbolic link
1
.config/fish/functions/pwd_is_home.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/pwd_is_home/pwd_is_home.fish
|
1
.config/fish/functions/segment.fish
Symbolic link
1
.config/fish/functions/segment.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/segment/segment.fish
|
1
.config/fish/functions/segment_close.fish
Symbolic link
1
.config/fish/functions/segment_close.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/segment/segment_close.fish
|
1
.config/fish/functions/segment_right.fish
Symbolic link
1
.config/fish/functions/segment_right.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/segment/segment_right.fish
|
1
.config/fish/functions/set_color_custom.fish
Symbolic link
1
.config/fish/functions/set_color_custom.fish
Symbolic link
|
@ -0,0 +1 @@
|
|||
../fisherman/metro/set_color_custom.fish
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue