Get rid of shellcheck disable=SC2046
parent
f0908c875a
commit
10713d5545
|
|
@ -84,6 +84,7 @@ plugins/available/goenv.plugin.bash
|
|||
plugins/available/history-search.plugin.bash
|
||||
plugins/available/history-substring-search.plugin.bash
|
||||
plugins/available/history.plugin.bash
|
||||
plugins/available/thefuck.plugin.bash
|
||||
plugins/available/xterm.plugin.bash
|
||||
|
||||
# tests
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
# shellcheck shell=bash
|
||||
cite about-plugin
|
||||
about-plugin 'Initialization for fuck'
|
||||
|
||||
# https://github.com/nvbn/thefuck
|
||||
|
||||
if _command_exists thefuck; then
|
||||
# shellcheck disable=SC2046
|
||||
eval $(thefuck --alias)
|
||||
eval "$(thefuck --alias)"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -44,8 +44,7 @@ function __powerline_prompt_command {
|
|||
[[ -n "${info}" ]] && __powerline_left_segment "${info}"
|
||||
done
|
||||
|
||||
# shellcheck disable=SC2046
|
||||
[[ "${last_status}" -ne 0 ]] && __powerline_left_segment $(__powerline_last_status_prompt ${last_status})
|
||||
[[ "${last_status}" -ne 0 ]] && __powerline_left_segment "$(__powerline_last_status_prompt ${last_status})"
|
||||
|
||||
if [[ -n "${LEFT_PROMPT}" ]] && [[ "${POWERLINE_COMPACT_AFTER_LAST_SEGMENT}" -eq 0 ]]; then
|
||||
__powerline_left_last_segment_padding
|
||||
|
|
|
|||
Loading…
Reference in New Issue