Skip to content

Commit

Permalink
Remove erroneous testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
IlanCosman committed Dec 24, 2023
1 parent d3a2d09 commit 9bd47e8
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions functions/fish_prompt.fish
Original file line number Diff line number Diff line change
Expand Up @@ -151,23 +151,6 @@ end"

if test "$tide_prompt_transient_enabled" = true
function _tide_enter_transient
set -l line (commandline --line)

commandline --search-mode
set -l search_mode_status $status

commandline --paging-mode
set -l paging_mode_status $status

commandline --paging-full-mode
set -l paging_full_mode_status $status

commandline --is-valid
set -l is_valid_status $status

echo "line: $line, search: $search_mode_status, paging: $paging_mode_status, paging_full: $paging_full_mode_status, is_valid: $is_valid_status" >>~/commandline_status


# If the commandline will be executed, or is empty
if commandline --is-valid || test -z "$(commandline)"
set -g _tide_transient
Expand Down

0 comments on commit 9bd47e8

Please sign in to comment.