Comments (17)
str.replace
function bug has been fixed
from shell.
path.wsl
function has been added to help convert the path to wsl path
path.wsl(sel.path)
from shell.
item(
title = "WSL Path"
[email protected](path.separator(path.join("mnt", path.name(sel.root),str.sub(sel.path,3)), "/"))
)
from shell.
🤩 works like a charm thanks
from shell.
sorry i closed it before even testing it there are some problem i found
- there needs to be a slash before
mnt
like this\mnt
otherwise this error shows up
- drive letter needs to be lower case
3.if there is a space between folder name it'll show a error if the file name is test tt
you have to write it like cd test\ tt/
- related to 3 if there are multiple spaces between folder you have to write like this
System\ Volume\ Information/
basically you need to end folders last word with/
and before that\
thats all i found after a little bit of digging
from shell.
Use str.lower to convert chars to lowercase
str.lower(path.name(sel.root))
Use str.replace to replace space with "\ "
str.replace(sel.path, ' ', '\ ')
from shell.
Use str.lower to convert chars to lowercase
str.lower(path.name(sel.root))
Use str.replace to replace space with "\ "
str.replace(sel.path, ' ', '\ ')
item(title = "WSL Path"[email protected](path.separator(path.join("/mnt", str.lower(path.name(sel.root)),str.replace(sel.path, ' ', '\ ')), "/")))
everytime i try to copy path it crashes the explorer
from shell.
There is a bug in str.replace
function that will be fixed in the next update
from shell.
aight ill be waiting for the update 😄
from shell.
path.wsl
function has been added to help convert the path to wsl pathpath.wsl(sel.path)
thank you so much
from shell.
im kinda confused how do i add it like this item(title='wsl' [email protected](sel.path))
?
from shell.
or like i did before
item(title = "WSL Path"[email protected](path.separator(path.join("/mnt", str.lower(path.name(sel.root)),str.replace(sel.path, ' ', '\ ')), "/")))
from shell.
item(title='wsl' [email protected](sel.path))
from shell.
i dont know what im doing wrong here.
20220928_075726.mp4
and also do we have a discord server?
from shell.
Use sys.copy
function to copy the path to the clipboard
item(title='wsl' [email protected](path.wsl(sel.path)))
from shell.
works perfectly thank you so much sorry for bothering you so much with this 😥.
although not related to this issue do you have a docs for the new stuff added on 1.8 and how to customise it.
i wanna decrease margin/padding from the sides of context menu container is there a doc u can point me to.
from shell.
Just an update, with the lastest version, this works
item(mode="single" [email protected](sel.path) cmd=command.copy(path.wsl(sel.path)))
from shell.
Related Issues (20)
- How do I need to set up to use modern theme and mica/acrylic effects in light mode at the same time? HOT 1
- [Question] Creating File with custom name HOT 3
- Enable/Disable shell HOT 1
- Dual monitor context menu size display abnormally. HOT 2
- No "New" Option HOT 1
- Latest shell version no longer respects system theme HOT 1
- Not Working in All Applications HOT 1
- sys.dark Option in theme.nss stopped working after last update HOT 1
- File browser crashes when right-clicking the quick access button HOT 7
- Site down for download HOT 11
- Website changelog date shows 2023 instead of 2024
- Website down, how do I install? HOT 1
- Better Customization? HOT 2
- Cannot right click taskbar HOT 7
- Original “Desktop(Create Shortcut)” not finded
- [Website] Google Safe Browsing report HOT 4
- Update the Chinese translation for 1.9.15 HOT 1
- Context menu takes an eternity to open if there are a lot of items in the recycle bin
- Can't get the modern look of context menu with Shell registered HOT 2
- How can I delete the delete option in the context menu HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell.