9 years agozachwhaley committed change 18761 into p4-completion:main Complete words with the colon character Usually : is treated like a separator and can cause completion to fail, like if a client has a colon in its... name, p4 client would complete up to the colon and then start completing file names. This change prevents this by making the word up to the colon a prefix for word completion « | ||
Add a comment | ||
9 years agozachwhaley committed change 18754 into p4-completion:main Use the new __p4_complete prefix parameter in __p4_compflags | ||
9 years agozachwhaley committed change 18753 into p4-completion:main Fix spacing in __p4_directories | ||
9 years agozachwhaley committed change 18752 into p4-completion:main Add completion for files with revision specifiers This should allow commands that use file revisions to complete those revisions. Example: | is th...e cursor $ p4 filelog |<TAB><TAB> LICENSE p4_completion.bash .p4config .p4ignore README.md $ p4 filelog p4|<TAB> $ p4 filelog p4_completion.bash| $ p4 filelog p4_completion.bash|<TAB><TAB> p4_completion.bash@ p4_completion.bash# $ p4 filelog p4_completion.bash#|<TAB><TAB> p4_completion.bash#1 p4_completion.bash#3 p4_completion.bash#have p4_completion.bash#none p4_completion.bash#2 p4_completion.bash#4 p4_completion.bash#head $ p4 filelog p4_completion.bash#he|<TAB> $ p4 filelog p4_completion.bash#head| Notice that the cursor will not end the completion with a space. This is intentional, because the user might want to add a comma to create a range, e.g. file#1,5 Commas in filerevs are not yet completed by p4_completion « | ||
9 years agozachwhaley committed change 18751 into p4-completion:main Use bash-completion to initialize cur prev, words, and cwordThis function comes from the bash-completion script provided by debian, I think. See: htt...p://bash-completion.alioth.debian.org « | ||
9 years agozachwhaley committed change 18750 into p4-completion:main Fix depot(s) competion 'p4 depot' has a -t option to specify the type of depot 'p4 depots' takes no arguments, so should not complete anything | ||
9 years agozachwhaley committed change 18749 into p4-completion:main Check that $cmd has a function | ||
9 years agozachwhaley committed change 18748 into p4-completion:main Use local variables instead of COMP_CWORD and COMP_WORDS | ||
9 years agozachwhaley committed change 18747 into p4-completion:main Replace a sed call with native bash | ||
9 years agozachwhaley committed change 18715 into p4-completion:main Add more context aware option generation If a different user is set via a -u option, then completion should be aware of that option and cater the su...ggestions with that option in mind, like completing only changelists from that user when the -e (filter changelist) option is used. Contextual options are currently client, user, stream, and change status. i.e. if an option can set a designated client, user, stream, or status, the rest completion should become aware of that. Add missing -s option to p4 unshelve Fix spelling error « | ||
9 years agozachwhaley committed change 18714 into p4-completion:main Update commands for Perforce 2015.2 Style change Update global options for Perforce 2015.2 Replace long switch statement with much simpler eval c...all Add option flags These are for commands like 'p4 diff' that can add more than one flag to an option e.g. p4 diff -dub, which outputs a diff in unified format and ignores whitespace changes « | ||
9 years agozachwhaley voted up review 12562 for wmesard-p5:main | ||
10 years agozachwhaley committed change 15130 into Add C++ code to see if std::string will throw an exception if given NULL as a char pointer. | ||
10 years agozachwhaley committed change 15129 into Add practice directory | ||
10 years agozachwhaley committed change 15128 into Add p4 ignore file | ||
10 years agozachwhaley committed change 15127 into delete scratch more | ||
10 years agozachwhaley committed change 15126 into delete scratch | ||
10 years agozachwhaley committed change 15125 into delete .p4config | ||
10 years agozachwhaley committed change 15124 into Rename gitp4-sync-test-repo to scratch | ||
10 years agozachwhaley committed change 15123 into Let There Be Code! | ||
10 years agozachwhaley commented on review 12562 for wmesard-p5:main I can't seem to commit this :( I get an error saying "No files to commit" Is this a permission thing? | ||
10 years agozachwhaley voted up review 12562 for wmesard-p5:main | ||
10 years agozachwhaley voted up review 12562 for wmesard-p5:main | ||
10 years agozachwhaley approved review 12562 for wmesard-p5:main | ||
10 years agozachwhaley updated files in review 12562 for wmesard-p5:main | ||
10 years agozachwhaley commented on review 12562 for wmesard-p5:main Fixed tables :) | ||
10 years agozachwhaley updated files in review 12562 for wmesard-p5:main | ||
10 years agozachwhaley commented on review 12562 for wmesard-p5:main The tables aren't being parsed correctly. Still needs some work. | ||
10 years agozachwhaley updated description of review 12562 for wmesard-p5:main | ||
10 years agozachwhaley requested review 12562 for wmesard-p5:main | ||
10 years agozachwhaley committed change 12543 into p4-completion:main Copied updates from GitHub, if you want to see granular commits visit https://github.com/zachwhaley/p4_completion/commits/master | ||
11 years agozachwhaley committed change 8801 into Starting over | ||
11 years agozachwhaley committed change 8798 into test | ||
11 years agozachwhaley committed change 8797 into Added an ignore file. | ||
11 years agozachwhaley approved review 8793 for I think this is going to get clobbered later. Anyway, this is a bash completion script for Perforce CLI. | ||
11 years agozachwhaley requested review 8793 for I think this is going to get clobbered later. Anyway, this is a bash completion script for Perforce CLI. | ||
11 years agozachwhaley committed change 8792 into I think this is going to get clobbered later. Anyway, this is a bash completion script for Perforce CLI. | ||
Change | User | Description | Created | ||
---|---|---|---|---|---|
12561 | zachwhaley | Convert p5.html to a markdown README file so that Perforce Swarm will display its contents... on the p5 page. An HTML file can be generated from the README.md with any markdown parser, i.e. redcarpet, kramdown, etc. #review-12562 « |
10 years ago | View Review |
Adjust when notifications are sent to you about reviews that you're associated with (as an author, reviewer, project member or moderator).