Skip to content

Commit

Permalink
Fix comments referencing generic_terminal.talon (talonhub#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsingh93 authored Nov 19, 2022
1 parent 09093ea commit 841b869
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apps/apple_terminal/apple_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from talon import Context, actions, ui

# TODO: fit this to generic_terminal
# TODO: fit this to terminal.py

ctx = Context()
ctx.matches = r"""
Expand Down
4 changes: 2 additions & 2 deletions apps/apple_terminal/apple_terminal.talon
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
app: apple_terminal
-
# makes the commands in generic_terminal available
# makes the commands in terminal.talon available
tag(): terminal

# activates the implementation of the commands/functions in generic_terminal
# activates the implementation of the commands/functions in terminal.talon
tag(): user.generic_unix_shell

# makes commands for certain applications available
Expand Down
4 changes: 2 additions & 2 deletions apps/kde_konsole/kde_konsole.talon
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
os: linux
and app.name: konsole
-
# makes the commands in generic_terminal available
# makes the commands in terminal.talon available
tag(): terminal

# activates the implementation of the commands/functions in generic_terminal
# activates the implementation of the commands/functions in terminal.talon
tag(): user.generic_unix_shell

# makes commands for certain applications available
Expand Down
4 changes: 2 additions & 2 deletions apps/powershell/powershell_win.talon
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ and app.name: Windows PowerShell
os: windows
and app.exe: powershell.exe
-
# makes the commands in generic_terminal available
# makes the commands in terminal.talon available
tag(): terminal

# activates the implementation of the commands/functions in generic_terminal
# activates the implementation of the commands/functions in terminal.talon
tag(): user.generic_windows_shell

# makes commands for certain applications available
Expand Down
4 changes: 2 additions & 2 deletions apps/windows_terminal/windows_terminal.talon
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
app: windows_terminal
-
# makes the commands in generic_terminal available
# makes the commands in terminal.talon available
tag(): terminal

# activates the implementation of the commands/functions in generic_terminal
# activates the implementation of the commands/functions in terminal.talon
tag(): user.generic_windows_shell

# makes commands for certain applications available
Expand Down
2 changes: 0 additions & 2 deletions tags/terminal/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

@mod.action_class
class Actions:
# implements the function from generic_terminal.talon for unix shells

def terminal_list_directories():
"""Lists directories"""

Expand Down
2 changes: 1 addition & 1 deletion tags/terminal/unix_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@ctx.action_class("user")
class Actions:
# implements the function from generic_terminal.talon for unix shells
# Implements the functions from terminal.py for unix shells

def terminal_list_directories():
"""Lists directories"""
Expand Down
2 changes: 1 addition & 1 deletion tags/terminal/windows_shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

@ctx.action_class("user")
class Actions:
# implements the function from generic_terminal.talon for unix shells
# Implements the functions from terminal.py for unix shells

def terminal_list_directories():
"""Lists directories"""
Expand Down

0 comments on commit 841b869

Please sign in to comment.