From 2a8f149eaab825b0677a992da21da208681ec942 Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 11 Feb 2020 17:07:38 -0500 Subject: .bashrc: Linting --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index 19c2181..85e8b60 100644 --- a/.bashrc +++ b/.bashrc @@ -76,7 +76,7 @@ export HISTCONTROL=ignoredups:erasedups export PROMPT_COMMAND="cd .; history -a" # set wget history path -alias wget="wget --hsts-file $HOME/.cache/wget.history" +alias wget='wget --hsts-file $HOME/.cache/wget.history' # ssh agent with keychain alias ssh='eval $(/usr/bin/keychain --eval --agents ssh -Q --quiet ~/.ssh/mobile ~/.ssh/primary) && ssh' @@ -158,7 +158,7 @@ export FZF_DEFAULT_OPTS="--color=fg:255,hl:9 \ --color=marker:109,spinner:248,header:255" # source fzm -[ -f "$HOME"/.config/fzf-marks/fzf-marks.plugin.bash ] && source "$HOME/.config/fzf-marks/fzf-marks.plugin.bash" +[ -f "$HOME/.config/fzf-marks/fzf-marks.plugin.bash" ] && . "$HOME/.config/fzf-marks/fzf-marks.plugin.bash" # change directory with fzf fd() { @@ -176,4 +176,4 @@ history-remove-duplicates() { docker-rootfs() { id=$(docker run -d "$1" /bin/true) && docker export -o "$2" "$id" && docker container rm "$id"; } # remove dangling docker images -docker-remove-dangling() { docker container prune --force && docker rmi $(docker images -f 'dangling=true' -q); } +docker-remove-dangling() { docker container prune --force && docker rmi "$(docker images -f 'dangling=true' -q)"; } -- cgit v1.2.3