mirror of
https://github.com/jbowdre/dotfiles.git
synced 2025-01-18 06:24:38 +00:00
fish: explicitly set XDG_ variables
This commit is contained in:
parent
89b2abe469
commit
1ed76cafd1
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{ config, ... }: {
|
||||
programs.fish.interactiveShellInit =
|
||||
# Launch tmux
|
||||
''
|
||||
|
@ -6,6 +6,13 @@
|
|||
tmux attach-session -t $(hostname -s) || tmux new-session -s $(hostname -s) -c $HOME
|
||||
end
|
||||
'' +
|
||||
# set XDG directories
|
||||
''
|
||||
set -U XDG_CACHE_HOME "${config.home.homeDirectory}/.cache"
|
||||
set -U XDG_CONFIG_HOME "${config.home.homeDirectory}/.config"
|
||||
set -U XDG_DATA_HOME "${config.home.homeDirectory}/.local/share"
|
||||
set -U XDG_STATE_HOME "${config.home.homeDirectory}/.local/state"
|
||||
'' +
|
||||
# Open command buffer in vim when alt+e is pressed
|
||||
''
|
||||
bind \ee edit_command_buffer
|
||||
|
|
Loading…
Reference in a new issue