gsamokovarov / jump

Jump helps you navigate faster by learning your habits. ✌️
http://gsamokovarov.com/jump
MIT License
1.8k stars 59 forks source link

How to setup database on Windows 10? #82

Closed kelong-shi-myob closed 6 months ago

kelong-shi-myob commented 8 months ago

jump shell return this bash shell which can't be used on PowerShell:

# Put the line below in ~/.bashrc or ~/bash_profile:
#
#   eval "$(jump shell bash)"
#
# The following lines are autogenerated:

__jump_prompt_command() {
  local status=$?
  jump chdir && return $status
}

__jump_hint() {
  local term="${COMP_LINE/#j /}"
  echo \'$(jump hint "$term")\'
}

j() {
  local dir="$(jump cd "$@")"
  test -d "$dir"  && cd "$dir"
}

[[ "$PROMPT_COMMAND" =~ __jump_prompt_command ]] || {
  PROMPT_COMMAND="__jump_prompt_command;$PROMPT_COMMAND"
}

complete -o dirnames -C '__jump_hint' j
gsamokovarov commented 6 months ago

Hey, sorry for taking so long to get back to you. :( We do have PowerShell integration support, run jump shell pwsh. I can make the discoverability of the PowerShell integration better.