add paths from .config and .scripts
This commit is contained in:
parent
6b78d2dba9
commit
9a9bdb22fc
10 changed files with 212 additions and 2 deletions
11
.config/fish/config.fish
Normal file
11
.config/fish/config.fish
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
|
||||
|
||||
|
||||
if [ "$TERMINAL_EMULATOR" = "JetBrains-JediTerm" ]
|
||||
bind '[5D' backward-word
|
||||
bind '[5C' forward-word
|
||||
|
||||
end
|
||||
|
||||
thefuck --alias | source
|
34
.config/fish/fish_variables
Normal file
34
.config/fish/fish_variables
Normal file
|
@ -0,0 +1,34 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR JAVA_HOME:/usr/lib/jvm/java\x2d11\x2dopenjdk\x2damd64
|
||||
SETUVAR __fish_initialized:3100
|
||||
SETUVAR fish_color_autosuggestion:555
|
||||
SETUVAR fish_color_cancel:normal
|
||||
SETUVAR fish_color_command:005fd7
|
||||
SETUVAR fish_color_comment:990000
|
||||
SETUVAR fish_color_cwd:blue
|
||||
SETUVAR fish_color_cwd_root:800000
|
||||
SETUVAR fish_color_end:00875f
|
||||
SETUVAR fish_color_error:ff0000
|
||||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_history_current:normal
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_match:normal
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:00a6b2
|
||||
SETUVAR fish_color_param:00afff
|
||||
SETUVAR fish_color_quote:999900
|
||||
SETUVAR fish_color_redirection:00afff
|
||||
SETUVAR fish_color_search_match:ffff00
|
||||
SETUVAR fish_color_selection:c0c0c0
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:blue
|
||||
SETUVAR fish_color_valid_path:normal
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_user_paths:/home/valentin/\x2elocal/bin\x1e/usr/local/bin/stack\x1e/home/valentin/\x2envm/versions/node/v14\x2e14\x2e0/bin/npm\x1e/home/valentin/\x2envm/versions/node/v14\x2e14\x2e0/bin/
|
3
.config/fish/functions/cypress.fish
Normal file
3
.config/fish/functions/cypress.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function cypress
|
||||
node_modules/.bin/cypress $argv
|
||||
end
|
27
.config/fish/functions/fish_prompt.fish
Normal file
27
.config/fish/functions/fish_prompt.fish
Normal file
|
@ -0,0 +1,27 @@
|
|||
function fish_prompt --description 'Write out the prompt'
|
||||
set -l last_pipestatus $pipestatus
|
||||
set -l last_status $status
|
||||
set -l normal (set_color normal)
|
||||
|
||||
# Color the prompt differently when we're root
|
||||
set -l color_cwd $fish_color_cwd
|
||||
set -l prefix
|
||||
set -l suffix 'λ'
|
||||
if contains -- $USER root toor
|
||||
if set -q fish_color_cwd_root
|
||||
set color_cwd $fish_color_cwd_root
|
||||
end
|
||||
set suffix '#'
|
||||
end
|
||||
|
||||
# If we're running via SSH, change the host color.
|
||||
set -l color_host $fish_color_host
|
||||
if set -q SSH_TTY
|
||||
set color_host $fish_color_host_remote
|
||||
end
|
||||
|
||||
# Write pipestatus
|
||||
set -l prompt_status (__fish_print_pipestatus " [" "]" "|" (set_color $fish_color_status) (set_color --bold $fish_color_status) $last_pipestatus)
|
||||
|
||||
echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $color_host) (prompt_hostname) $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (fish_vcs_prompt) $normal $prompt_status \n $suffix " "
|
||||
end
|
3
.config/fish/functions/idea.fish
Normal file
3
.config/fish/functions/idea.fish
Normal file
|
@ -0,0 +1,3 @@
|
|||
function idea
|
||||
~/.local/share/JetBrains/Toolbox/apps/IDEA-U/ch-0/212.4746.92/bin/idea.sh $argv &>/dev/null &
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue