Commit 36c2fe9a authored by Tim van Deurzen's avatar Tim van Deurzen

Add alacritty, wezterm and fish configs.

parent 42ddd058
...@@ -21,3 +21,14 @@ ...@@ -21,3 +21,14 @@
target = "~/.gitconfig" target = "~/.gitconfig"
type = "symbolic" type = "symbolic"
[alacritty.files.alacritty]
target = "~/.config/alacritty/"
type = "symbolic"
[wezterm.files.wezterm]
target = "~/.config/wezterm/"
type = "symbolic"
[fish.files.fish]
target = "~/.config/fish/"
type = "symbolic"
This diff is collapsed.
This diff is collapsed.
/home/tim/.local/share/broot/launcher/fish/1.fish
\ No newline at end of file
# 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
set -g theme_display_git yes
set -g theme_display_git_untracked no
set -g theme_display_git_ahead_verbose yes
set -g theme_git_worktree_support yes
set -g theme_display_vagrant no
set -g theme_display_docker_machine no
set -g theme_display_hg yes
set -g theme_display_virtualenv yes
set -g theme_display_ruby no
set -g theme_display_user yes
set -g theme_display_vi yes
set -g theme_display_date yes
set -g theme_display_cmd_duration yes
set -g theme_title_display_process no
set -g theme_title_display_path no
set -g theme_title_use_abbreviated_path yes
set -g theme_date_format "+%a %H:%M"
set -g theme_avoid_ambiguous_glyphs yes
set -g theme_powerline_fonts yes
set -g theme_nerd_fonts yes
set -g theme_show_exit_status yes
set -g default_user your_normal_user
set -g fish_prompt_pwd_dir_length 0
set -g theme_project_dir_length 1
set -g XDG_CURRENT_DESKTOP GNOME
set -Ux EDITOR nvim
set GEM_ROOT ~/.gem/ruby/2.7.0
# set the workspace path
set -x GOPATH /home/tim/src/golang
# add the go bin path to be able to execute our programs
set -x PATH $GOPATH/bin $GEM_ROOT/bin $HOME/.local/bin $HOME/.cargo/bin $PATH
# content has to be in .config/fish/config.fish
# if it does not exist, create the file
setenv SSH_ENV $HOME/.ssh/environment
function start_agent
echo "Initializing new SSH agent ..."
ssh-agent -c | sed 's/^echo/#echo/' > $SSH_ENV
echo "succeeded"
chmod 600 $SSH_ENV
. $SSH_ENV > /dev/null
ssh-add
end
function test_identities
ssh-add -l | grep "The agent has no identities" > /dev/null
if [ $status -eq 0 ]
ssh-add
if [ $status -eq 2 ]
start_agent
end
end
end
if [ -n "$SSH_AGENT_PID" ]
ps -ef | grep $SSH_AGENT_PID | grep ssh-agent > /dev/null
if [ $status -eq 0 ]
test_identities
end
else
if [ -f $SSH_ENV ]
. $SSH_ENV > /dev/null
end
ps -ef | grep $SSH_AGENT_PID | grep -v grep | grep ssh-agent > /dev/null
if [ $status -eq 0 ]
test_identities
else
start_agent
end
end
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/tim/downloads/google-cloud-sdk/path.fish.inc' ]; if type source > /dev/null; source '/home/tim/downloads/google-cloud-sdk/path.fish.inc'; else; . '/home/tim/downloads/google-cloud-sdk/path.fish.inc'; end; end
alias ls='/usr/bin/exa'
alias cat='/usr/bin/bat'
direnv hook fish | source
starship init fish | source
zoxide init fish | source
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export EDITOR:nvim
SETUVAR --export PATH:/opt/google\x2dcloud\x2dsdk/bin\x1e/usr/local/bin\x1e/usr/local/sbin\x1e/usr/bin\x1e/usr/lib/jvm/default/bin\x1e/usr/bin/site_perl\x1e/usr/bin/vendor_perl\x1e/usr/bin/core_perl\x1e/home/tim/\x2elocal/bin/
SETUVAR --export SSH_AGENT_PID:8236
SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dXXXXXXsvsa7X/agent\x2e8235
SETUVAR __fish_init_2_39_8:\x1d
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:\x2d\x2dbold
SETUVAR fish_color_comment:red
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:brmagenta
SETUVAR fish_color_error:brred
SETUVAR fish_color_escape:bryellow\x1e\x2d\x2dbold
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:bryellow
SETUVAR fish_color_param:cyan
SETUVAR fish_color_quote:yellow
SETUVAR fish_color_redirection:brblue
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:Welcome\x20to\x20fish\x2c\x20the\x20friendly\x20interactive\x20shell
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:\x1d
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_pager_color_selected_background:\x2dr
/home/tim/.local/share/omf/themes/simple-ass-prompt/fish_prompt.fish
\ No newline at end of file
function fish_user_key_bindings
fzf_key_bindings
end
function vim --wraps nvim --description 'alias vim=nvim'
nvim $argv
end
local wezterm = require 'wezterm'
return {
--color_scheme = "Gruvbox Dark",
color_scheme = "DoomOne",
--color_scheme = "Gruvbox (Gogh)",
font = wezterm.font 'Fira Code',
font_size = 9.0,
hide_tab_bar_if_only_one_tab = true,
window_padding = {
left = 1,
right = 1,
top = 1,
bottom = 1,
},
window_frame = {
-- The font used in the tab bar.
-- Roboto Bold is the default; this font is bundled
-- with wezterm.
-- Whatever font is selected here, it will have the
-- main font setting appended to it to pick up any
-- fallback fonts you may have used there.
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
-- The size of the font in the tab bar.
-- Default to 10. on Windows but 12.0 on other systems
font_size = 6.0,
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment