mirror of
https://github.com/bertptrs/vimconfig.git
synced 2025-12-25 12:30:32 +01:00
Misc improvements
This commit is contained in:
@@ -60,7 +60,7 @@ decrease_font_size_key=minus
|
|||||||
fullscreen_key=F11
|
fullscreen_key=F11
|
||||||
set_colorset_accelerator=5
|
set_colorset_accelerator=5
|
||||||
icon_file=terminal-tango.svg
|
icon_file=terminal-tango.svg
|
||||||
use_fading=true
|
use_fading=false
|
||||||
scrollable_tabs=true
|
scrollable_tabs=true
|
||||||
stop_tab_cycling_at_end_tabs=No
|
stop_tab_cycling_at_end_tabs=No
|
||||||
word_chars=-,./?%&#_~:
|
word_chars=-,./?%&#_~:
|
||||||
|
|||||||
@@ -3,8 +3,7 @@ Description=Cleanup of temporary files
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
|
ExecStart=/bin/systemd-tmpfiles --root=%h --clean %h/.config/tmpfiles/tmpfiles.conf
|
||||||
ExecStart=/usr/bin/find %h/.cache/pacman/sources -type f -maxdepth 1 -delete
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
@@ -76,6 +76,11 @@ if [[ -d "$HOME/.local/bin" ]]; then
|
|||||||
path+="$HOME/.local/bin"
|
path+="$HOME/.local/bin"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Add cargo binaries to path
|
||||||
|
if [[ -d "$HOME/.cargo/bin" ]]; then
|
||||||
|
path+="$HOME/.cargo/bin"
|
||||||
|
fi
|
||||||
|
|
||||||
# Set up GIMP
|
# Set up GIMP
|
||||||
export GIMP2_DIRECTORY="$XDG_CONFIG_HOME"/gimp
|
export GIMP2_DIRECTORY="$XDG_CONFIG_HOME"/gimp
|
||||||
|
|
||||||
|
|||||||
@@ -78,6 +78,9 @@ alias wget="wget --hsts-file=\"$XDG_CACHE_HOME/wget-hsts\""
|
|||||||
alias makej="make -j$(nproc)"
|
alias makej="make -j$(nproc)"
|
||||||
alias sdc='sudo docker-compose'
|
alias sdc='sudo docker-compose'
|
||||||
alias nrc='nix run -c'
|
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.
|
# Not an alias but useful nonetheless.
|
||||||
function pasters() {
|
function pasters() {
|
||||||
@@ -211,6 +214,11 @@ function _pip_completion {
|
|||||||
compctl -K _pip_completion pip
|
compctl -K _pip_completion pip
|
||||||
# pip zsh completion end
|
# 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
|
# Enable autocorrect, in case I still get it wrong
|
||||||
setopt correct
|
setopt correct
|
||||||
export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] "
|
export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] "
|
||||||
|
|||||||
Reference in New Issue
Block a user