Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
189cb6ab
Commit
189cb6ab
authored
Oct 22, 2015
by
Jacek Sowiński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move all lsprj and lscon variants to aliases
parent
727a980b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
+19
-8
topydo.conf
topydo.conf
+8
-0
topydo/Commands.py
topydo/Commands.py
+0
-8
topydo/lib/Config.py
topydo/lib/Config.py
+11
-0
No files found.
topydo.conf
View file @
189cb6ab
...
...
@@ -49,3 +49,11 @@ append_parent_contexts = 0
[
aliases
]
;
showall
=
ls
-
x
;
lsproj
=
lsprj
;
listprj
=
lsprj
;
listproj
=
lsprj
;
listproject
=
lsprj
;
listprojects
=
lsprj
;
listcon
=
lscon
;
listcontext
=
lscon
;
listcontexts
=
lscon
topydo/Commands.py
View file @
189cb6ab
...
...
@@ -35,15 +35,7 @@ _SUBCOMMAND_MAP = {
'exit'
:
'ExitCommand'
,
# used for the prompt
'ls'
:
'ListCommand'
,
'lscon'
:
'ListContextCommand'
,
'listcon'
:
'ListContextCommand'
,
'listcontext'
:
'ListContextCommand'
,
'listcontexts'
:
'ListContextCommand'
,
'lsprj'
:
'ListProjectCommand'
,
'lsproj'
:
'ListProjectCommand'
,
'listprj'
:
'ListProjectCommand'
,
'listproj'
:
'ListProjectCommand'
,
'listproject'
:
'ListProjectCommand'
,
'listprojects'
:
'ListProjectCommand'
,
'postpone'
:
'PostponeCommand'
,
'pri'
:
'PriorityCommand'
,
'quit'
:
'ExitCommand'
,
...
...
topydo/lib/Config.py
View file @
189cb6ab
...
...
@@ -95,6 +95,17 @@ class _Config:
'link_color'
:
'cyan'
,
'priority_colors'
:
'A:cyan,B:yellow,C:blue'
,
},
'aliases'
:
{
'lsproj'
:
'lsprj'
,
'listprj'
:
'lsprj'
,
'listproj'
:
'lsprj'
,
'listproject'
:
'lsprj'
,
'listprojects'
:
'lsprj'
,
'listcon'
:
'lscon'
,
'listcontext'
:
'lscon'
,
'listcontexts'
:
'lscon'
,
},
}
self
.
config
=
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment