home-services: shells: Remove from redundant functionality

pull/1/head
Luis Guilherme Coelho 2023-12-10 12:32:14 -03:00
parent bfafa792a0
commit ab0aef570b
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 3 additions and 28 deletions

View File

@ -120,43 +120,18 @@ typed in the shell, will automatically expand to the full text."
,(mixed-text-file ,(mixed-text-file
"fish-config.fish" "fish-config.fish"
#~(string-append "\ #~(string-append "\
set --prepend fish_function_path " #$fish-foreign-env "/share/fish/functions
# if we haven't sourced the login config, do it # if we haven't sourced the login config, do it
status --is-login; and not set -q __fish_login_config_sourced status --is-login; and not set -q __fish_login_config_sourced
and begin and begin
set --prepend fish_function_path "
#$fish-foreign-env
"/share/fish/functions
fenv source $HOME/.profile fenv source $HOME/.profile
set -e fish_function_path[1] set -e fish_function_path[1]
set -g __fish_login_config_sourced 1 set -g __fish_login_config_sourced 1
end
if test -e $HOME/.config/user-dirs.dirs
set -gx XDG_DESKTOP_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_DESKTOP_DIR\" 2>/dev/null)
set -gx XDG_DOCUMENTS_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_DOCUMENTS_DIR\" 2>/dev/null)
set -gx XDG_DOWNLOAD_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_DOWNLOAD_DIR\" 2>/dev/null)
set -gx XDG_MUSIC_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_MUSIC_DIR\" 2>/dev/null)
set -gx XDG_PICTURES_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_PICTURES_DIR\" 2>/dev/null)
set -gx XDG_PUBLICSHARE_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_PUBLICSHARE_DIR\" 2>/dev/null)
set -gx XDG_TEMPLATES_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_TEMPLATES_DIR\" 2>/dev/null)
set -gx XDG_VIDEOS_DIR \
(fenv \"source $HOME/.config/user-dirs.dirs \\
echo $XDG_VIDEOS_DIR\" 2>/dev/null)
end\n\n") end\n\n")
(serialize-configuration (serialize-configuration
config config