Why predefined 'selection type template' not work?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
gawker
Junior Member
Junior Member
Posts: 9
Joined: 2018-04-10, 05:43 UTC

Why predefined 'selection type template' not work?

Post by *gawker »

In Show menu > Custom...
  • define file types: *.* | .git\
    So the address bar show: "d:\work\*.* | .git\"
    This work by hide the .git folder.
But when i custom a selection template:
  • define selection template ignore-git: *.* | .git\
    So the address bar show: "d:\work\>ignore-git"
    but not working, the .git folder is shown.
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Why predefined 'selection type template' not work?

Post by *nsp »

gawker wrote:In Show menu > Custom...
  • define file types: *.* | .git\
    So the address bar show: "d:\work\*.* | .git\"
    This work by hide the .git folder.
But when i custom a selection template:
  • define selection template ignore-git: *.* | .git\
    So the address bar show: "d:\work\>ignore-git"
    but not working, the .git folder is shown.
I personally did no find any way to hide folder using file type, my workarounds are:

A) use a ignore list and the command cm_SwitchIgnoreList to enable/disable

B) () define a em_filter with CD as command and %A as parameter,
em_nofilter as CD *.*
you can use it from any button,alias, shortkey... adding as paramater your filter as you which like

Code: Select all

 em_filter *.*|.git\ .gitignore .gitattributes
gawker
Junior Member
Junior Member
Posts: 9
Joined: 2018-04-10, 05:43 UTC

Post by *gawker »

Thanks for your fruitful reply, it helps me a lot : ))
Post Reply