dotfiles/shells/fish/conf.d/00-env.fish

53 lines
1.6 KiB
Fish
Raw Normal View History

2019-03-09 17:52:33 +01:00
# Copyright © 2019 Marcel Kapfer <opensource@mmk2410.org>
# MIT License
# Permission is hereby granted, free of charge, to any person obtaining a copy of
# this software and associated documentation files (the "Software"), to deal in
# the Software without restriction, including without limitation the rights to
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
# the Software, and to permit persons to whom the Software is furnished to do so,
# subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
set -x ARCHFLAGS -arch_x86_64
set -e LANG
set -e LC_CTYPE
set -Ux LANG "en_DK.UTF-8"
set -Ux LC_TYPE "en_DK.UTF-8"
2019-03-09 17:52:33 +01:00
set -e GPG_TTY
set -Ux GPG_TTY (tty)
2019-04-06 07:45:49 +02:00
set -e EDITOR
2020-03-12 07:14:50 +01:00
set -Ux EDITOR "emacsclient -t"
2019-03-09 17:52:33 +01:00
2020-03-12 07:14:50 +01:00
if test -z "$VISUAL"
set -Ux VISUAL "emacsclient -t"
2019-03-09 17:52:33 +01:00
end
2020-03-12 07:14:50 +01:00
if test -z "$GIT_EDITOR"
2019-03-09 17:52:33 +01:00
set -Ux GIT_EDITOR es
end
2020-03-12 07:14:50 +01:00
if test -z "$GOPATH"
2019-03-09 17:52:33 +01:00
set -Ux GOPATH ~/.go
end
2020-03-12 07:14:50 +01:00
if test -z "$XDG_CURRENT_DESKTOP"
2019-03-09 17:52:33 +01:00
set -Ux XDG_CURRENT_DESKTOP GNOME
end
if test -z "$QT_QPA_PLATFORMTHEME"
set -Ux QT_QPA_PLATFORMTHEME qt5ct
end