Initial commit from korat

This commit is contained in:
2022-01-18 09:55:24 +01:00
commit 00af380c16
10 changed files with 656 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
# Path to Oh My Fish install.
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Load Oh My Fish configuration.
source $OMF_PATH/init.fish

63
.config/fish/config.fish Normal file
View File

@@ -0,0 +1,63 @@
# -*- mode: shell-scrip -*-
set fish_greeting ""
################################################################################
# exa
################################################################################
if type -q exa
alias ls="exa --git -g"
set -gx EXA_COLORS "da=36:uu=33:gu=33"
end
################################################################################
# Emacs
################################################################################
set -gx EDITOR "emacs -nw"
alias emacs="emacs -nw"
alias gemacs="emacs"
################################################################################
# Deb maintainer stuff
################################################################################
set -gx DEBFULLNAME "Alexandre Tuleu"
set -gx DEBEMAIL "alexandre.tuleu.2005@polytechnique.org"
set -gx GPGKEY "5915F6ED256016C6A44E7C907F8AA0EB0F59FF97"
set -gx DEBSIGN_KEYID $GPGKEY
set -gx DEB_BUILD_OPTIONS "parallel=15"
################################################################################
# Go Lang
################################################################################
if test -x /usr/local/go/bin/go
set -gx GOROOT /usr/local/go
set -gx GOPATH $HOME/devel/go
set PATH $PATH $GOROOT/bin $GOPATH/bin
end
export MINICOM="-c on"
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
eval /home/atuleu/miniconda3/bin/conda "shell.fish" "hook" $argv | source
# <<< conda initialize <<<
################################################################################
# direnv
################################################################################
direnv hook fish | source
################################################################################
# Starship
################################################################################
starship init fish | source

View File

@@ -0,0 +1,32 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3100
SETUVAR fish_color_autosuggestion:969896
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:c397d8
SETUVAR fish_color_comment:e7c547
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:c397d8
SETUVAR fish_color_error:d54e53
SETUVAR fish_color_escape:00a6b2
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
SETUVAR fish_color_param:7aa6da
SETUVAR fish_color_quote:b9ca4a
SETUVAR fish_color_redirection:70c0b1
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_greeting:
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

View File

@@ -0,0 +1 @@
/home/atuleu/.local/share/omf/themes/boxfish/fish_prompt.fish

2
.config/omf/bundle Normal file
View File

@@ -0,0 +1,2 @@
theme bobthefish
theme default

1
.config/omf/channel Normal file
View File

@@ -0,0 +1 @@
stable

1
.config/omf/theme Normal file
View File

@@ -0,0 +1 @@
default

70
.config/starship.toml Normal file
View File

@@ -0,0 +1,70 @@
#format = """$character"""
#right_format = """$all"""
add_newline = false
[cmake]
disabled = true
[character] # The name of the module we are configuring is "character"
success_symbol = "[◤](#444444)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
error_symbol = "[◤](red)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
[username]
style_user="bold green"
format="[$user]($style)@"
show_always = true
[hostname]
ssh_only = false
style="cyan"
format = "[$hostname]($style) in "
[directory]
style = "bold yellow"
truncation_length = 8
#truncate_to_repo = false
[conda]
symbol = "⛎ "
style="green"
format = "[$symbol$environment]($style) "
[python]
format="[$symbol$version]($style) "
[nodejs]
format="[$symbol$version]($style) "
[golang]
format="[$symbol$version]($style) "
[status]
disabled = false
map_symbol = true
style="bg:#444444 red"
format = "[◤](#444444 bg:red)[$symbol $status ](bg:red)"
[time]
disabled = false
style="bg:#444444 bright-white"
format="[◢](#444444)[$time ]($style)"
time_format = '%a %b %d %R'
[git_branch]
[git_commit]
tag_disabled=false
[git_state]
[git_metrics]
added_style="bold green"
deleted_style="bold red"
format='([+$added]($added_style) )([-$deleted]($deleted_style) )'
disabled=false
[git_status]
style="bold red"
format='([\[$all_status$ahead_behind\]]($style) )'