diff options
| author | EuAndreh <eu@euandre.org> | 2022-03-28 09:16:50 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2022-03-28 09:16:50 -0300 |
| commit | 9d4f0261ce86aed02200ece43fb42f4997e651e6 (patch) | |
| tree | ecce557a9d5b5a91e0ebeaa5c635bec7dd0a53b6 | |
| parent | sh/symlinks.sh: Move all directory creations to the top, cleanup and do bette... (diff) | |
| download | dotfiles-9d4f0261ce86aed02200ece43fb42f4997e651e6.tar.gz dotfiles-9d4f0261ce86aed02200ece43fb42f4997e651e6.tar.xz | |
sh/env.sh: Cleanup and organize
| -rw-r--r-- | sh/aliases.sh | 2 | ||||
| -rw-r--r-- | sh/env.sh | 39 |
2 files changed, 22 insertions, 19 deletions
diff --git a/sh/aliases.sh b/sh/aliases.sh index 993f2dbe..8ccbb3f4 100644 --- a/sh/aliases.sh +++ b/sh/aliases.sh @@ -11,7 +11,6 @@ alias l='ls -lahF --color' alias c='tmux send-keys -R \; clear-history' alias o='open' alias mail='mail -a "Content-Type: text/plain; charset=UTF-8" -aFrom:eu@euandre.org' -# alias info='info --vi-keys' alias m='mbsync EuAndreh & mbsync EuAndrehXYZ & mbsync Nubank & wait && notmuch new' alias mm='msmtp-queue -r' @@ -20,6 +19,7 @@ alias mk='make clean && make dev-check' alias wmk='aux/with-container "make clean && make dev-check"' alias tt='mk && wmk' alias todos='make public && open public/TODOs.html' +alias valgrind='valgrind --show-error-list=yes --show-leak-kinds=all --leak-check=full --track-origins=yes --error-exitcode=1' alias grep='grep --color=auto' alias diff='diff --color=auto' @@ -1,29 +1,32 @@ #!/bin/sh -export R='16686@ch-s010.rsync.net' export EDITOR=vi +export VISUAL="$EDITOR" export BROWSER=firefox export INPUTRC=~/.inputrc -export BORG_REMOTE_PATH='borg1' -export GOPATH="$HOME/dev/go" -export PASSWORD_STORE_DIR="$HOME/dev/others/password-store" export RLWRAP_HOME="$HOME/.cache/rlwrap" -export CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -Werror -fPIC -g' -export CC=gcc -export C_INCLUDE_PATH="${C_INCLUDE_PATH:-}${C_INCLUDE_PATH:+:}$HOME/.local/include" -export LIBRARY_PATH="${LIBRARY_PATH:-}${LIBRARY_PATH:+:}$HOME/.local/lib" -export PKG_CONFIG_PATH="${PKG_CONFIG_PATH:-}${PKG_CONFIG_PATH:+:}$HOME/.local/lib/pkgconfig" -export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:-}${LD_LIBRARY_PATH:+:}$HOME/.local/lib" -MANPATH="${MANPATH:-$HOME/.local/share/man:$(manpath)}" -export MANPATH -export PREFIX="$HOME/.local" -export INFOPATH="${INFOPATH:-}${INFOPATH:+:}$HOME/.local/info" +export BORG_REMOTE_PATH='borg1' +export BORG_PASSCOMMAND='pass show Usurpador/borg/passphrase' -# https://git.savannah.gnu.org/cgit/guix.git/tree/doc/guix.texi?id=cd6ae1cee95644b9aa712a7192bc9677a04c146b#n1287 -export NIX_BUILD_CORES=0 +export GOPATH="$HOME/dev/go" +export CFLAGS='-std=c99 -Wall -Wextra -Wpedantic -g -flto -Werror' +export CC=musl-gcc +export AR=gcc-ar +export LEX=flex +export LDFLAGS='-flto' +MAKEFLAGS="-j$(nproc)" +export MAKEFLAGS +export NIXPREFIX='/run/current-system/sw' +export PREFIX="$HOME/.p" +export C_INCLUDE_PATH="$PREFIX/include:$NIXPREFIX/include/:${C_INCLUDE_PATH:-}" +export LIBRARY_PATH="$PREFIX/lib:$NIXPREFIX/lib/:${LIBRARY_PATH:-}" +export INFOPATH="$PREFIX/share/info:$HOME/.config/guix/current/share/info:$INFOPATH" +export MANPATH="$PREFIX/share/man:$(manpath -q)" +export LISP='sbcl --eval' -export GUIX_PROFILE="$HOME/.guix-profile" export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" +. ~/.guix-profile/etc/profile +GUIX_PROFILE= . ~/.config/guix/current/etc/profile -PATH="$HOME/.local/bin:$HOME/tmp/bin:$HOME/dev/others/dinheiros:$DOTFILES/scripts:$DOTFILES/xmonad/scripts:$DOTFILES/cron:$DOTFILES/cron/generated:$HOME/annex/bin/scripts:$PATH" +PATH="$HOME/.p/bin:$HOME/.local/bin:$HOME/tmp/bin:$HOME/dev/libre/website/bin:$HOME/dev/others/dinheiros:$DOTFILES/src/bin:$HOME/dev/libre/eutils/src/impls/sh:$DOTFILES/xmonad/scripts:$DOTFILES/cron:$DOTFILES/cron/generated:$HOME/annex/bin/scripts:$PATH" |
