diff options
author | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-08 16:50:21 +0000 |
---|---|---|
committer | Luca Matei Pintilie <lucafulger@gmail.com> | 2022-10-08 16:50:21 +0000 |
commit | c3e28c7ffcf1dc68fef04f541b1302df05d8e30c (patch) | |
tree | 3d786ba8dbc3ab280c2ce088c1541f522cd46663 | |
parent | 2143dee6dc9d60d144537d64500abc0f62782ad9 (diff) | |
download | dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.gz dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.bz2 dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.lz dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.xz dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.tar.zst dotfiles-c3e28c7ffcf1dc68fef04f541b1302df05d8e30c.zip |
Some shell changes and improvements
-rw-r--r-- | .bashrc | 8 | ||||
-rw-r--r-- | .gitconfig | 3 | ||||
-rw-r--r-- | .profile | 14 |
3 files changed, 19 insertions, 6 deletions
@@ -18,7 +18,13 @@ fi # Put your fun stuff here. alias cls="clear" -alias cat="$(which bat || which batcat || 'cat')" +BAT="$(which bat || which batcat)" + +if [ -n $BAT ] +then + alias cat="$BAT -p" +fi + alias ls="$(which lsd || 'ls')" alias sudo="$(which doas || which sudo || 'su -c')" alias codium="flatpak run com.vscodium.codium --no-sandbox --enable-features=UseOzonePlatform --ozone-platform=wayland" @@ -8,4 +8,5 @@ gpgSign = true [pull] rebase = false - +[init] + defaultBranch = master @@ -8,11 +8,18 @@ if [ -z "${XDG_RUNTIME_DIR}" ]; then fi DENO_INSTALL="$HOME/.deno"; export DENO_INSTALL; +# https://github.com/denoland/deno/pull/15974 +DENO_NO_UPDATE_CHECK="yes" export DENO_NO_UPDATE_CHECK; +DENO_NO_PROMPT="yes" export DENO_NO_PROMPT; + BUN_INSTALL="/home/luca/.bun"; +GOPROXY="direct" export GOPROXY; +EDITOR="$(which nvim || which vim || which nano || which vi)"; export EDITOR; -EDITOR="nvim"; export EDITOR; -MANPAGER="sh -c 'col -bx | bat -l man -p'"; export MANPAGER; -GPG_TTY="$(tty)" export GPG_TTY; +if [ -n "$(which bat || which batcat)" ] +then + MANPAGER="sh -c 'col -bx | bat -l man -p'"; export MANPAGER; +fi # Sway specific SDL_VIDEODRIVER=wayland; export SDL_VIDEODRIVER; @@ -24,4 +31,3 @@ GPG_TTY="$(tty)" export GPG_TTY; PATH="$HOME/go/bin:$DENO_INSTALL/bin:$BUN_INSTALL/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH"; - |