Re-order profile slightly
This commit is contained in:
parent
7be9c8af59
commit
1e10355d6e
1 changed files with 21 additions and 18 deletions
|
@ -1,16 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export ANSIBLE_NOCOWS=1
|
|
||||||
export BLOCKSIZE=K
|
# Start from known core "C" locale. This will get overwritten later.
|
||||||
export EDITOR=vi
|
|
||||||
export ENV="$HOME/.shrc"
|
|
||||||
export GOTELEMETRY=off
|
|
||||||
export HISTCONTROL=ignorespace:ignoredups
|
|
||||||
export LANG=C
|
export LANG=C
|
||||||
export PAGER=less
|
|
||||||
export PAPERSIZE=a4
|
|
||||||
export POWERSHELL_TELEMETRY_OPTOUT=1
|
|
||||||
export PYTHONWARNINGS=ignore::UserWarning
|
|
||||||
export VIRSH_DEFAULT_CONNECT_URI=qemu:///session
|
|
||||||
|
|
||||||
# Set up XDG variables. See:
|
# Set up XDG variables. See:
|
||||||
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
# https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
|
||||||
|
@ -31,13 +22,6 @@ if [ ! -d "$XDG_STATE_HOME" ] ; then install -d -m 0700 "$XDG_STATE_HOME" ; fi
|
||||||
if [ ! -d "$XDG_RUNTIME_DIR" ] ; then install -d -m 0700 "$XDG_RUNTIME_DIR" ; fi
|
if [ ! -d "$XDG_RUNTIME_DIR" ] ; then install -d -m 0700 "$XDG_RUNTIME_DIR" ; fi
|
||||||
if [ ! -d "$HOME/.local/bin" ] ; then install -d -m 0700 "$HOME/.local/bin" ; fi
|
if [ ! -d "$HOME/.local/bin" ] ; then install -d -m 0700 "$HOME/.local/bin" ; fi
|
||||||
|
|
||||||
if [ -d /var/acp ] && ! [ -L /var/acp ]
|
|
||||||
then
|
|
||||||
export ACP=/var/acp
|
|
||||||
else
|
|
||||||
export ACP="$HOME/data"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Locale and language.
|
# Locale and language.
|
||||||
## Clear the existing locale settings and set options I always want.
|
## Clear the existing locale settings and set options I always want.
|
||||||
export TZ=Europe/London # Can override this elsewhere if needed.
|
export TZ=Europe/London # Can override this elsewhere if needed.
|
||||||
|
@ -50,6 +34,25 @@ then
|
||||||
. "$XDG_CONFIG_HOME/locale.conf"
|
. "$XDG_CONFIG_HOME/locale.conf"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export ANSIBLE_NOCOWS=1
|
||||||
|
export BLOCKSIZE=K
|
||||||
|
export EDITOR=vi
|
||||||
|
export ENV="$HOME/.shrc"
|
||||||
|
export GOTELEMETRY=off
|
||||||
|
export HISTCONTROL=ignorespace:ignoredups
|
||||||
|
export PAGER=less
|
||||||
|
export PAPERSIZE=a4
|
||||||
|
export POWERSHELL_TELEMETRY_OPTOUT=1
|
||||||
|
export PYTHONWARNINGS=ignore::UserWarning
|
||||||
|
export VIRSH_DEFAULT_CONNECT_URI=qemu:///session
|
||||||
|
|
||||||
|
if [ -d /var/acp ] && ! [ -L /var/acp ]
|
||||||
|
then
|
||||||
|
export ACP=/var/acp
|
||||||
|
else
|
||||||
|
export ACP="$HOME/data"
|
||||||
|
fi
|
||||||
|
|
||||||
# Desktop files (used by desktop environments within both X11 and Wayland) are
|
# Desktop files (used by desktop environments within both X11 and Wayland) are
|
||||||
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for
|
# looked for in XDG_DATA_DIRS; make sure it includes the relevant directory for
|
||||||
# snappy applications' desktop files.
|
# snappy applications' desktop files.
|
||||||
|
|
Loading…
Reference in a new issue