1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 12:30:32 +01:00

Misc improvements

This commit is contained in:
2021-07-01 12:36:03 +02:00
parent a4c5719b83
commit e32928efa3
4 changed files with 15 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ decrease_font_size_key=minus
fullscreen_key=F11
set_colorset_accelerator=5
icon_file=terminal-tango.svg
use_fading=true
use_fading=false
scrollable_tabs=true
stop_tab_cycling_at_end_tabs=No
word_chars=-,./?%&#_~:

View File

@@ -3,8 +3,7 @@ Description=Cleanup of temporary files
[Service]
Type=oneshot
ExecStart=/usr/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
ExecStart=/usr/bin/find %h/.cache/pacman/sources -type f -maxdepth 1 -delete
ExecStart=/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
[Install]
WantedBy=default.target

View File

@@ -76,6 +76,11 @@ if [[ -d "$HOME/.local/bin" ]]; then
path+="$HOME/.local/bin"
fi
# Add cargo binaries to path
if [[ -d "$HOME/.cargo/bin" ]]; then
path+="$HOME/.cargo/bin"
fi
# Set up GIMP
export GIMP2_DIRECTORY="$XDG_CONFIG_HOME"/gimp

View File

@@ -78,6 +78,9 @@ alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\""
alias makej="make -j$(nproc)"
alias sdc='sudo docker-compose'
alias nrc='nix run -c'
alias gcs='gcloud compute ssh'
alias gscp='gcloud compute scp'
alias gci='gcloud compute instances'
# Not an alias but useful nonetheless.
function pasters() {
@@ -211,6 +214,11 @@ function _pip_completion {
compctl -K _pip_completion pip
# pip zsh completion end
# Load gcloud completions if they are available
if [[ -f /usr/share/google-cloud-sdk/completion.zsh.inc ]]; then
source /usr/share/google-cloud-sdk/completion.zsh.inc
fi
# Enable autocorrect, in case I still get it wrong
setopt correct
export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] "