M .bash_profile => .bash_profile +0 -3
@@ 21,7 21,6 @@ export VIMINIT=":source $XDG_CONFIG_HOME/vim/vimrc"
export VIMPAGER_RC="$XDG_CONFIG_HOME/vim/vimrc"
export SCREENRC="$XDG_CONFIG_HOME/screen/screenrc"
export GRADLE_USER_HOME="$XDG_CACHE_HOME/gradle"
-export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export _JAVA_OPTIONS="-Djava.util.prefs.userRoot=$XDG_CACHE_HOME/java
$_JAVA_OPTIONS"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
@@ 34,7 33,6 @@ export SQLITE_HISTORY="$XDG_CACHE_HOME/sqlite_history"
export MYSQL_HISTFILE="$XDG_CACHE_HOME/mysql_history"
export NODE_REPL_HISTORY="$XDG_CACHE_HOME/node_repl_history"
export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc"
-export PASSWORD_STORE_DIR="$XDG_DATA_HOME"/pass
export ABDUCO_SOCKET_DIR="$XDG_DATA_HOME"
# go phone home stuff
@@ 66,7 64,6 @@ if [ "${OSTYPE%%-*}" = "linux" ]; then
export SDL_VIDEODRIVER=wayland
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export GTK_IM_MODULE=wayland
- export QT_IM_MODULE=fcitx
export GTK_THEME=Arc-Darker
fi
M .bashrc => .bashrc +1 -11
@@ 48,17 48,7 @@ fi
command -v nvim >/dev/null && alias vim=nvim
alias sway="env LC_ALL=zh_TW.utf8 XDG_CURRENT_DESKTOP=sway sway"
alias mcshl="env ALSOFT_DRIVERS=alsa $_GCOMPAT_PRELOAD _JAVA_OPTIONS=\"-Dawt.useSystemAAFontSettings=lcd -Xmn512m -Xms2G -Xmx2G -XX:+UseTransparentHugePages -XX:MaxGCPauseMillis=50 -XX:+UseZGC $_JAVA_OPTIONS\" mcshl"
-alias tstoggle="swaymsg input 1267:9454:ELAN24EE:00_04F3:24EE events toggle"
-alias makepkgsh="podman run -itu builder -w /home/builder -v .:/home/builder -v /var/cache/pacman/pkg:/var/cache/pacman/pkg --userns keep-id registry.xdavidwu.link/ci-modulize/archlinux-docker-ci/base-devel sh"
-if [ -f /usr/bin/composer.phar ]; then
- alias composer81="php81 /usr/bin/composer.phar"
- alias composer82="php82 /usr/bin/composer.phar"
- alias composer="php83 /usr/bin/composer.phar"
-fi
-alias artisan81="php81 artisan"
-alias artisan82="php82 artisan"
-alias artisan="php83 artisan"
alias dl="curl -OJLR --compressed"
alias errno="grep -h '^#define[[:space:]]*E' /usr/include/asm-generic/errno* | sed 's|^#define[[:space:]]*||'"
alias signal="grep -h '^#define SIG' /usr/include/asm/signal.h | sed 's|^#define ||'"
@@ 151,5 141,5 @@ _completion_loader sudo 2>/dev/null
[ $? -eq 124 ] && complete -F _comp_cmd_sudo doas
_completion_loader symfony-autocomplete 2>/dev/null
-[ $? -eq 124 ] && complete -F _symfony artisan artisan81 composer composer81
+[ $? -eq 124 ] && complete -F _symfony artisan composer
true