Update sway with some fixes, update fish stuff
This commit is contained in:
parent
118250f033
commit
40ecaef7aa
24 changed files with 145 additions and 48 deletions
|
@ -32,6 +32,9 @@ function _tide_init_update --on-event _tide_init_update
|
|||
_tide_fish_colorize "fisher install ilancosman/tide@v6"
|
||||
sleep 3
|
||||
end
|
||||
|
||||
# Set (disable) the new jobs variable
|
||||
set -q tide_jobs_number_threshold || set -U tide_jobs_number_threshold 1000
|
||||
end
|
||||
|
||||
function _tide_init_uninstall --on-event _tide_init_uninstall
|
||||
|
|
9
fish/conf.d/bangbang.fish
Executable file
9
fish/conf.d/bangbang.fish
Executable file
|
@ -0,0 +1,9 @@
|
|||
function bangbang --on-event fish_preexec
|
||||
set -l command $argv
|
||||
#if ( echo $commmand | grep -q '!!' )
|
||||
set -l last_command (history --max 2 | tail --lines 1 | string escape | string escape)
|
||||
echo $last_command
|
||||
set -l new_command (echo $command | sed -e "s/\!\!/$last_command/g")
|
||||
# TODO: Figure out how to replace the current command and run that instead
|
||||
echo "*** New command: $new_command ***"
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue