prompt Questions

6

Solved

So in Bash you just configure PS1 to add colors to your prompt. I'm talking about the prompt proper, not the color of the foreground (text) or the background. And it's really easy in Bash and it he...
Amann asked 9/6, 2011 at 17:47

16

Solved

Currently working on a personal project. I want the user to click a button and a SweetAlert prompt would be presented for the user to verify their credential. However, the code I see on the SweetAl...
Zaid asked 16/7, 2015 at 20:11

3

Solved

Is there a way I can hide the hostname on the terminal without updating the /etc/hosts or related files. Generally we see the server details on screen as below [root@ServernamE /]# So, I ...
Ause asked 8/5, 2014 at 5:28

17

Solved

I have a requirement to implement an "Unsaved Changes" prompt in an ASP .Net application. If a user modifies controls on a web form, and attempts to navigate away before saving, a prompt should app...
Thirzi asked 1/10, 2008 at 0:41

0

My team has configured ReSharper/Rider to automatically run code-cleanup every time we save. I save a lot, which means code-cleanup runs a lot. Every time I try to Ctrl+Z past a point where code-cl...
Homeroom asked 20/9, 2022 at 16:48

8

Solved

I want to change my Anaconda Prompt User file path. Currently it is as follows: I want it to change to: C:\Users\u354590 How do I do this? The current version of anaconda I have is: Python 3...
Pennywise asked 17/1, 2018 at 15:14

1

I am currently playing with some cmd/prompt animations/graphics: import os import time def printFrame(timeout, count): os.system('cls') l=0 while True: for k in range(0,9): for i in range(0,...
Lysenkoism asked 28/4, 2014 at 11:12

10

Solved

I've been trying to customize my Bash prompt so that it will look like [feralin@localhost ~]$ _ with colors. I managed to get constant colors (the same colors every time I see the prompt), but I w...
Parry asked 23/5, 2013 at 13:23

6

Solved

I'm calling a Javascript window.prompt() and prompting the user to submit a variable which I compare to another variable (a very basic password protection). The function works great, however, if yo...
Vassallo asked 12/10, 2012 at 17:55

3

I am currently using ubuntu 20 and using zsh + oh my zsh shell . The issue is zsh shell is taking abnormally long time to start up. To puts things in perspective , its almost 9 times slower than ra...
Freakish asked 21/6, 2020 at 13:32

4

I'm working on a JS project running with node.js and I can't figure out how to get the prompt to work correctly for user input. I installed it from npm, followed the steps and I can get the p...
Vicennial asked 5/12, 2016 at 18:2

5

Solved

I'm trying to make my Visual Studio build script execute a .bat file that does something important. Here is what I'm want to do right now: cd "F:\- Big Packets -\kitterengine\Common\" Template.ba...
Ionia asked 8/12, 2016 at 1:17

4

Solved

A buddy of mine finally got me to start using Fish Shell and I'm trying to set it up similar to how I had Bash. The PS1 in my .bash_profile listed the current directory I was in, followed by a >...
Pru asked 6/7, 2015 at 17:59

7

Solved

Gradle shows up in echo %PATH% no problem.. It has has it's own directory in Program Files, however when I attempt: gradle -v .. It responds: 'gradle' is not recognised as an internal or exter...
Drumstick asked 2/8, 2014 at 3:23

3

I want to make a Chrome Bookmarklet which open a new tab with specific action. To be more exact I want to have a fixed URL like "https://www.blablabla.com/search=" inside the bookmarklet and when ...
Harvard asked 15/3, 2018 at 21:55

3

Solved

Edited Version I have a question about GPG, but I write all of the process, maybe it will help someone. I want to: Suppress the passphrase prompt in GPG command. I don't want to: use -c option (-...
Affright asked 2/3, 2018 at 15:37

4

Solved

When I create an new bash process, the prompt defaults to a very simple one. I know I can edit .bashrc etc to change this, but is there a way of passing the prompt with the bash command? thanks!
Bullheaded asked 16/4, 2012 at 17:15

9

Solved

I'm using the prompt library for Node.js and I have this code: var fs = require('fs'), prompt = require('prompt'), toCreate = toCreate.toLowerCase(), stats = fs.lstatSync('./' + toCreate); if(...
Horsemint asked 20/8, 2012 at 17:52

4

Is there any way to change name, that is shown in prompt, while virtualenv activated? username@host:~$ python3 -m venv venv username@host:~$ source venv/bin/activate (venv) username@host:~$ But i ...
Pudendas asked 13/1, 2020 at 10:18

7

I installed the same version from Official Windows Meteor Support on one computer and the command "meteor" runs normally, now I tried to install in another computer but is giving me the issue that ...
Sixfooter asked 17/3, 2015 at 23:34

1

Solved

I have this piece of code in my .zshrc: autoload -U colors && colors function change_color() { if [[ "$?" = 0 ]]; then return "green" else return "red" f...
Button asked 14/1, 2022 at 1:35

5

Solved

Is there is way to show the current directory in IPython prompt? Instead of this: In [1]: Something like this: In<~/user/src/proj1>[1]:
Spellbinder asked 20/7, 2016 at 12:36

2

Solved

I am trying to figure out the command to display the contents of a file (text file) in command prompt using cURL and get. I had the right command but now I can't seem to get the correct syntax righ...
Main asked 24/3, 2017 at 20:46

12

Solved

To recognize better the start and the end of output on a commandline, I want to change the color of my prompt, so that it is visibly different from the programs output. As I use zsh, can anyone giv...
Sandblind asked 27/3, 2009 at 13:29

3

Solved

Apps script web app works in <iframe>. It seems Chrome is no longer supporting alert(), confirm(), Promote these functions on the web app. Any workaround to this? Chrome Version 92.0.4515.10...
Triton asked 22/7, 2021 at 23:21

© 2022 - 2025 — McMap. All rights reserved.