mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-06-25 00:17:27 +02:00
Compare commits
No commits in common. "e6bfab4cf20a19e89249152db3da5a63ab19d133" and "c4d7ee362d78991212a7dd69f732d059b204126c" have entirely different histories.
e6bfab4cf2
...
c4d7ee362d
17
conf/locale.conf
Normal file
17
conf/locale.conf
Normal file
@ -0,0 +1,17 @@
|
||||
# This file might be best to be catted into something read by your shell.
|
||||
# In my case possibly ~/.custom
|
||||
# See also https://mikaela.info/locale
|
||||
|
||||
# Default language & everything: en_GB.UTF-8
|
||||
LANG=en_GB.utf8
|
||||
# The primary language & fallbacks (pam_environment was unhappy with only
|
||||
# $LANG in my test).
|
||||
LANGUAGE=en_GB.UTF-8:en_US.UTF-8:en
|
||||
# ISO 8601
|
||||
LC_TIME=en_DK.utf8
|
||||
# € not £
|
||||
LC_MONETARY=fi_FI.utf8
|
||||
# no Mx, just the name
|
||||
LC_NAME=fi_FI.utf8
|
||||
# +358...
|
||||
LC_TELEPHONE=fi_FI.utf8
|
@ -0,0 +1,21 @@
|
||||
# This is supposed to be ~/.pam_environment
|
||||
# See also https://mikaela.info/locale
|
||||
|
||||
# Default language & everything: en_GB.UTF-8
|
||||
LANG DEFAULT=en_GB.UTF-8
|
||||
# The primary language & fallbacks (this file is unhappy with only $LANG
|
||||
# in my test).
|
||||
LANGUAGE DEFAULT=en_GB.UTF-8:en_US.UTF-8:en
|
||||
# ISO 8601
|
||||
LC_TIME DEFAULT=en_DK.UTF-8
|
||||
# € not £
|
||||
LC_MONETARY DEFAULT=fi_FI.UTF-8
|
||||
# no Mx, just the name
|
||||
LC_NAME DEFAULT=fi_FI.UTF-8
|
||||
# +358...
|
||||
LC_TELEPHONE DEFAULT=fi_FI.UTF-8
|
||||
|
||||
# fcitx input method
|
||||
GTK_IM_MODULE=fcitx
|
||||
QT_IM_MODULE=fcitx
|
||||
XMODIFIERS=@im=fcitx
|
@ -1,18 +1,30 @@
|
||||
# European/standardizedish English for root
|
||||
if [[ "$(id -u)" == "0" ]]; then
|
||||
unset LC_ALL
|
||||
unset LANGUAGE
|
||||
export LANG="en_DK.UTF-8"
|
||||
export LC_CTYPE="en_DK.UTF-8"
|
||||
export LC_NUMERIC="en_DK.UTF-8"
|
||||
export LC_TIME="en_DK.UTF-8"
|
||||
export LC_COLLATE="en_DK.UTF-8"
|
||||
export LC_MONETARY="en_DK.UTF-8"
|
||||
export LC_MESSAGES="en_DK.UTF-8"
|
||||
export LC_PAPER="en_DK.UTF-8"
|
||||
export LC_NAME="en_DK.UTF-8"
|
||||
export LC_ADDRESS="en_DK.UTF-8"
|
||||
export LC_TELEPHONE="en_DK.UTF-8"
|
||||
export LC_MEASUREMENT="en_DK.UTF-8"
|
||||
export LC_IDENTIFICATION="en_DK.UTF-8"
|
||||
#export LANG="en_DK.UTF-8"
|
||||
#export LC_CTYPE="en_DK.UTF-8"
|
||||
#export LC_NUMERIC="en_DK.UTF-8"
|
||||
#export LC_TIME="en_DK.UTF-8"
|
||||
#export LC_COLLATE="en_DK.UTF-8"
|
||||
#export LC_MONETARY="en_DK.UTF-8"
|
||||
#export LC_MESSAGES="en_DK.UTF-8"
|
||||
#export LC_PAPER="en_DK.UTF-8"
|
||||
#export LC_NAME="en_DK.UTF-8"
|
||||
#export LC_ADDRESS="en_DK.UTF-8"
|
||||
#export LC_TELEPHONE="en_DK.UTF-8"
|
||||
#export LC_MEASUREMENT="en_DK.UTF-8"
|
||||
#export LC_IDENTIFICATION="en_DK.UTF-8"
|
||||
#export LC_ALL="en_DK.UTF-8"
|
||||
export LANG="en_US.UTF-8"
|
||||
export LC_CTYPE="en_US.UTF-8"
|
||||
export LC_NUMERIC="en_US.UTF-8"
|
||||
export LC_TIME="en_US.UTF-8"
|
||||
export LC_COLLATE="en_US.UTF-8"
|
||||
export LC_MONETARY="en_US.UTF-8"
|
||||
export LC_MESSAGES="en_US.UTF-8"
|
||||
export LC_PAPER="en_US.UTF-8"
|
||||
export LC_NAME="en_US.UTF-8"
|
||||
export LC_ADDRESS="en_US.UTF-8"
|
||||
export LC_TELEPHONE="en_US.UTF-8"
|
||||
export LC_MEASUREMENT="en_US.UTF-8"
|
||||
export LC_IDENTIFICATION="en_US.UTF-8"
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
fi
|
||||
|
2
etc/sysctl.d/00-bindv6only.conf
Normal file
2
etc/sysctl.d/00-bindv6only.conf
Normal file
@ -0,0 +1,2 @@
|
||||
# When binding to IPv6, only bind to IPv6. Avoids dotted-decimals
|
||||
net.ipv6.bindv6only=1
|
@ -1,4 +0,0 @@
|
||||
# When binding to IPv6, only bind to IPv6. Avoids dotted-decimals. May break
|
||||
# KDE Connect?
|
||||
#net.ipv6.bindv6only=1
|
||||
net.ipv6.bindv6only=0
|
50
rc/bashrc
50
rc/bashrc
@ -1,22 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# European/standardizedish English for root
|
||||
if [[ "$(id -u)" == "0" ]]; then
|
||||
unset LC_ALL
|
||||
unset LANGUAGE
|
||||
export LANG="en_DK.UTF-8"
|
||||
export LC_CTYPE="en_DK.UTF-8"
|
||||
export LC_NUMERIC="en_DK.UTF-8"
|
||||
export LC_TIME="en_DK.UTF-8"
|
||||
export LC_COLLATE="en_DK.UTF-8"
|
||||
export LC_MONETARY="en_DK.UTF-8"
|
||||
export LC_MESSAGES="en_DK.UTF-8"
|
||||
export LC_PAPER="en_DK.UTF-8"
|
||||
export LC_NAME="en_DK.UTF-8"
|
||||
export LC_ADDRESS="en_DK.UTF-8"
|
||||
export LC_TELEPHONE="en_DK.UTF-8"
|
||||
export LC_MEASUREMENT="en_DK.UTF-8"
|
||||
export LC_IDENTIFICATION="en_DK.UTF-8"
|
||||
#export LANG="en_DK.UTF-8"
|
||||
#export LC_CTYPE="en_DK.UTF-8"
|
||||
#export LC_NUMERIC="en_DK.UTF-8"
|
||||
#export LC_TIME="en_DK.UTF-8"
|
||||
#export LC_COLLATE="en_DK.UTF-8"
|
||||
#export LC_MONETARY="en_DK.UTF-8"
|
||||
#export LC_MESSAGES="en_DK.UTF-8"
|
||||
#export LC_PAPER="en_DK.UTF-8"
|
||||
#export LC_NAME="en_DK.UTF-8"
|
||||
#export LC_ADDRESS="en_DK.UTF-8"
|
||||
#export LC_TELEPHONE="en_DK.UTF-8"
|
||||
#export LC_MEASUREMENT="en_DK.UTF-8"
|
||||
#export LC_IDENTIFICATION="en_DK.UTF-8"
|
||||
#export LC_ALL="en_DK.UTF-8"
|
||||
export LANG="en_US.UTF-8"
|
||||
export LC_CTYPE="en_US.UTF-8"
|
||||
export LC_NUMERIC="en_US.UTF-8"
|
||||
export LC_TIME="en_US.UTF-8"
|
||||
export LC_COLLATE="en_US.UTF-8"
|
||||
export LC_MONETARY="en_US.UTF-8"
|
||||
export LC_MESSAGES="en_US.UTF-8"
|
||||
export LC_PAPER="en_US.UTF-8"
|
||||
export LC_NAME="en_US.UTF-8"
|
||||
export LC_ADDRESS="en_US.UTF-8"
|
||||
export LC_TELEPHONE="en_US.UTF-8"
|
||||
export LC_MEASUREMENT="en_US.UTF-8"
|
||||
export LC_IDENTIFICATION="en_US.UTF-8"
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
fi
|
||||
|
||||
UNAME=$(uname)
|
||||
@ -663,12 +675,6 @@ fi
|
||||
# installations.
|
||||
alias shizuku="adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh"
|
||||
|
||||
# journalctl commands I often seem to type by hand
|
||||
alias journalf="journalctl --no-hostname --follow"
|
||||
alias journalfu="journalctl --utc --no-hostname --follow"
|
||||
alias journalb="journalctl --no-hostname --boot"
|
||||
alias journalbu="journalctl --utc --no-hostname --boot"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
50
rc/zshrc
50
rc/zshrc
@ -1,22 +1,34 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
# European/standardizedish English for root
|
||||
if [[ "$(id -u)" == "0" ]]; then
|
||||
unset LC_ALL
|
||||
unset LANGUAGE
|
||||
export LANG="en_DK.UTF-8"
|
||||
export LC_CTYPE="en_DK.UTF-8"
|
||||
export LC_NUMERIC="en_DK.UTF-8"
|
||||
export LC_TIME="en_DK.UTF-8"
|
||||
export LC_COLLATE="en_DK.UTF-8"
|
||||
export LC_MONETARY="en_DK.UTF-8"
|
||||
export LC_MESSAGES="en_DK.UTF-8"
|
||||
export LC_PAPER="en_DK.UTF-8"
|
||||
export LC_NAME="en_DK.UTF-8"
|
||||
export LC_ADDRESS="en_DK.UTF-8"
|
||||
export LC_TELEPHONE="en_DK.UTF-8"
|
||||
export LC_MEASUREMENT="en_DK.UTF-8"
|
||||
export LC_IDENTIFICATION="en_DK.UTF-8"
|
||||
#export LANG="en_DK.UTF-8"
|
||||
#export LC_CTYPE="en_DK.UTF-8"
|
||||
#export LC_NUMERIC="en_DK.UTF-8"
|
||||
#export LC_TIME="en_DK.UTF-8"
|
||||
#export LC_COLLATE="en_DK.UTF-8"
|
||||
#export LC_MONETARY="en_DK.UTF-8"
|
||||
#export LC_MESSAGES="en_DK.UTF-8"
|
||||
#export LC_PAPER="en_DK.UTF-8"
|
||||
#export LC_NAME="en_DK.UTF-8"
|
||||
#export LC_ADDRESS="en_DK.UTF-8"
|
||||
#export LC_TELEPHONE="en_DK.UTF-8"
|
||||
#export LC_MEASUREMENT="en_DK.UTF-8"
|
||||
#export LC_IDENTIFICATION="en_DK.UTF-8"
|
||||
#export LC_ALL="en_DK.UTF-8"
|
||||
export LANG="en_US.UTF-8"
|
||||
export LC_CTYPE="en_US.UTF-8"
|
||||
export LC_NUMERIC="en_US.UTF-8"
|
||||
export LC_TIME="en_US.UTF-8"
|
||||
export LC_COLLATE="en_US.UTF-8"
|
||||
export LC_MONETARY="en_US.UTF-8"
|
||||
export LC_MESSAGES="en_US.UTF-8"
|
||||
export LC_PAPER="en_US.UTF-8"
|
||||
export LC_NAME="en_US.UTF-8"
|
||||
export LC_ADDRESS="en_US.UTF-8"
|
||||
export LC_TELEPHONE="en_US.UTF-8"
|
||||
export LC_MEASUREMENT="en_US.UTF-8"
|
||||
export LC_IDENTIFICATION="en_US.UTF-8"
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
fi
|
||||
|
||||
# TOC
|
||||
@ -651,12 +663,6 @@ fi
|
||||
# installations.
|
||||
alias shizuku="adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh"
|
||||
|
||||
# journalctl commands I often seem to type by hand
|
||||
alias journalf="journalctl --no-hostname --follow"
|
||||
alias journalfu="journalctl --utc --no-hostname --follow"
|
||||
alias journalb="journalctl --no-hostname --boot"
|
||||
alias journalbu="journalctl --utc --no-hostname --boot"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .zsh_aliases .
|
||||
|
||||
# .aliases
|
||||
|
Loading…
x
Reference in New Issue
Block a user