Compare commits

...

2 Commits

Author SHA1 Message Date
giomba 9adfb1f627 zshrc: add non-localized version of GCC. 2022-09-29 21:43:32 +02:00
giomba b99783bc35 zshrc: add KDE build directory. 2022-09-29 21:38:55 +02:00
1 changed files with 20 additions and 0 deletions

20
zshrc
View File

@ -3831,7 +3831,18 @@ alias xopen='xdg-open'
# Everybody likes an user interface with his native language,
# but holy cow who is the idiot who localizes programming tools?
# How am I supposed to search the Internet with a fucking localized message?
alias git='LANG=en_US.UTF-8 git'
alias gcc='LANG=en_US.UTF-8 gcc'
alias g++='LANG=en_US.UTF-8 g++'
alias ld='LANG=en_US.UTF-8 ld'
alias nm='LANG=en_US.UTF-8 nm'
alias objdump='LANG=en_US.UTF-8 objdump'
alias objcopy='LANG=en_US.UTF-8 objcopy'
english-please()
{
export LANG=en_US.UTF-8
}
# git add -u, but ignore whitespaces
gitadduw() {
@ -3846,6 +3857,15 @@ fi
# Use QT dialogs instead of GTK ones
export GTK_USE_PORTAL=1
# auto-generated by kdesrc-build initial setup: do not remove!
# Add the kdesrc-build directory to the path
export PATH="$HOME/kde/src/kdesrc-build:$PATH"
# Create alias for running software built with kdesrc-build
kdesrc-run ()
{
source "$HOME/kde/build/$1/prefix.sh" && "$HOME/kde/usr/bin/$@"
}
## END OF FILE #################################################################
# vim:filetype=zsh foldmethod=marker autoindent expandtab shiftwidth=4
# Local variables: