Comments (1)
One thing to note is that the spaceship implementation uses zsh
prompt sequences to get the hostname, which we can't do. We'll need to think about what the best way to get the hostname across all platforms is...
EDIT: It looks like getting the hostname in a cross-platform setting is surprisingly tricky, but we can do it either with a crate or by calling gethostname
in an unsafe
block (Windows apparently has a binary-compatible function in their libc).
from starship.
Related Issues (20)
- Code Page Not Changing in Cmd after Setting AutoRun Registry Value in Windows HOT 2
- Feature request: detect files/folders/extensions in ancestor folders for custom module HOT 1
- Right format doesn't work in bash HOT 1
- Feature request: Ability to dynamically silence cmd_duration notifications HOT 1
- unrendered character in prompt HOT 3
- Colors not showing Properly or Getting Changed HOT 4
- ci: GH Action "Block Translated Changes" is not Working
- use_logical_path isn't documented HOT 1
- Option for a full path as part of the prompt, without `~`
- How to define $username and $character inline on prompt?
- Long execution in directory with automountable directory HOT 3
- WSL detected as Docker HOT 1
- Want oh-my-zsh like middle-of-a-file-name auto completion. HOT 2
- requesting build for x86_64-el8 HOT 1
- Add `ssh_only` to `custom` or create `ssh_only` as a module HOT 2
- Container module returns image when requesting name HOT 1
- Allow to combine properties inside others
- Home directory is in all substitutions cases HOT 3
- pwsh_indicator invalid key on windows HOT 2
- Sudo module spams journald 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 starship.