Skip to content

Commit c62c014

Browse files
Luis VasconcellosBruno Sutic
authored andcommitted
Remove the hard code current path
1 parent 94cb758 commit c62c014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

open.tmux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ command_generator() {
4141

4242
search_command_generator() {
4343
local command_string="$1"
44-
echo "xargs -I {} tmux run-shell 'cd ~/Development/Tmux/tmux-open; $command_string https://www.google.com.br/search?q=\"{}\" > /dev/null'"
44+
echo "xargs -I {} tmux run-shell 'cd #{pane_current_path}; $command_string https://www.google.com/search?q=\"{}\" > /dev/null'"
4545
}
4646

4747
generate_open_command() {

0 commit comments

Comments
 (0)