Questions tagged [prompt]

The prompt is what asks a user for their interactive input

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

How to make shorten mac terminal prompt in bold using powerlevel10k?

I'm using oh-my-zsh, powerlevel10k, colorls and fig to customize my mac terminal. Now i have just one issue that i want the current directory name in bold. And one more problem that i want to change ...
ami_PBJ's user avatar
0 votes
0 answers
26 views

Outlook 365 is prompting IMAP settings when adding a specific google domain account

I have been quite frustrated on this issue and Google has no solution for me. I have created a domain in Google domains and added a users account in the workspace. The first 3 days it works well. I ...
Assist IT's user avatar
3 votes
0 answers
78 views

Powershell custom prompt with posh-git git status prompt

I made my own custom prompt for PowerShell and my prompt be look like : [HH:mm] omkrbhagat C:\Users\onkar ~ Then, I installed posh-git module and import in my profile. Auto tab completion for git ...
Omkar Bhagat's user avatar
1 vote
1 answer
33 views

git-show-branch output showing in my git prompt

When I navigate to the directory of my git repo, my command line shows me a lot of stuff. It looks like the output of git-show-branch. I've tried to edit my git config file to change the default for [...
chargerstriker's user avatar
0 votes
1 answer
127 views

TMUX does not print full prompt on the windows terminal

Hello I have the following config for TMUX: set -sg escape-time 50 # https://github.com/microsoft/WSL/issues/5931 set-option -sa terminal-overrides ",xterm-256color:RGB" set -g mouse on ...
Daniel Hornik's user avatar
1 vote
0 answers
55 views

Adding color to bash right prompt causes unwanted behaviour

rightprompt() { green=$(tput setaf 156) yellow=$(tput setaf 228) red=$(tput setaf 203) printf "%*s" $COLUMNS "${green}$(date +%a), ${yellow}$(date +%b\ %d), ${red}$(date ...
Lord Royce's user avatar
0 votes
2 answers
38 views

BATCH: Correctly interpret environment variables passed by user through set /p

I want to support variable comprehension from user input in my script. >set target=%programdata% >echo %target% Gives me: C:\ProgramData All well and good, however... >set /p target= >%...
Luke Faez's user avatar
0 votes
1 answer
756 views

How to answer 'yes' automatically to prompts in a recursive powershell loop?

I have this block that I use to resize videos in nested subfolders with ffmpeg and then delete the original Get-ChildItem -Filter *.mp4 -Recurse | % { ffmpeg -i $_.FullName -vf "scale='if(gt(ih,...
cudnn_account's user avatar
45 votes
1 answer
14k views

How can I block the “Sign in with Google” prompt on websites? [duplicate]

On many websites that require login, those annoying Google login prompts appear: There are several tutorials on the Internet on how to avoid this, for example, this one on How-To Geek, which suggest ...
jay.sf's user avatar
  • 581
0 votes
1 answer
578 views

Open multiple instances of Python .py files/code with CMD (command prompt) with .bat extension

I try to open multiple instances of Python .py files/code with CMD (command prompt). So, I made a file with .bat extension, and I run it every time I want to open multiple .py files/code. This is the ...
Just Me's user avatar
  • 816
0 votes
0 answers
69 views

outlook command won't return prompt

So I'm writing a cmd script so I can open some programs on a double click. It looks like this: :: Open Logbook code "\\wsl$\path\to\the\logbook" | exit 0 :: Open Firefox "C:\Program ...
SbiN's user avatar
  • 1
0 votes
1 answer
113 views

What is the differences in these different PowerShells?

When I install some programs such as Anaconda for Jupyter Notebook and VS Code, I can find additional prompt with those programs. For Anaconda, there is some bundled app Anaconda Prompt and for VS ...
Grey's user avatar
  • 1
-1 votes
1 answer
517 views

Put Parrot OS terminal in one line like ubuntu or kali?

Using Parrot OS I could see that the terminal is like this: ┌─[root@parrot]─[~] └──╼ # It is possible to change it to one line like in kali? Like this one: kali@kali:~$
Yarison Fernandes's user avatar
1 vote
1 answer
51 views

Separate file path from command in Bash under WSL2

Is there a way to separate the file path from the commandline in the Bash prompt in WSL2? For example: Current: user1@DESKTOP-RMF1234:~/mywork/helloworld/tests$ ls Expect: user1@DESKTOP-RMF1234:~/...
Jiu hong's user avatar
  • 177
0 votes
0 answers
48 views

Change ls colors RPi4 zsh

I can't change the the colors on the ls output. I had setup a bit of a theme on my MacBook, and then on my RPi4 running the standard raspbian or whatever they changed it to, I installed zsh and made ...
Zach L's user avatar
  • 1
1 vote
1 answer
1k views

FISH - How to hide hostname/computer from prompt?

For context, I am using FISH 3.1.0. I looked in fish_config, but none of the prompt options just remove the hostname/computer while keeping the rest the same. Is there a way to keep most of the ...
Tyler Shellberg's user avatar
0 votes
1 answer
395 views

In Outlook, how to get a prompt when you've been added to a meeting or when a meetings time has changed?

I've had a few bad experiences where I missed a meeting because it was scheduled during the day and I was not at my computer when the outlook 15 minute prior to meeting prompt was displayed. I usually ...
Mandelbrotter's user avatar
0 votes
0 answers
331 views

Toolkit is not fiving the password prompt for One plus Seagate password protected external drive

I have a laptop and I used to manually copy files to an external disk via copy-paste. That disk is password protected and the seagate toolkit would ask for a password. This suddenly no longer works. I ...
alka's user avatar
  • 1
1 vote
1 answer
825 views

tmux changes shell prompt

Ubuntu 20.04 (running inside VirtualBox, if that's important.) tmux 3.0a (installed via apt) fish 3.4 (and earlier 3.3) starship.rs 1.1.1 Font: FiraCode Mono I have configured my prompt to look as ...
navneethc's user avatar
  • 113
2 votes
2 answers
3k views

How to disable OpenSC YubiKey password prompt in Firefox

I have a YubiKey nano plugged into a 2019 MacBook Pro. When I visit some websites (one public example being Gmail), Firefox brings up a password dialog prompting me to enter the YubiKey password. ...
Jay Taylor's user avatar
0 votes
2 answers
1k views

Ansi escape code chart for CMD prompt

How to find the command prompt ANSI escape code for the right-angle-quote »? (» in html) I'd like to use this symbol for my CMD prompt shell instead of the default angle bracket >* While ...
matt wilkie's user avatar
  • 5,035
1 vote
0 answers
234 views

Right And Left Side Prompt In Bash

I want a prompt on the left side of the terminal and opposite it another prompt on the right side of the terminal...so here is what I have so far and it works partially but the right side of the ...
ablrbls072's user avatar
0 votes
1 answer
176 views

Right-aligned PS1 and PS1 equals itself?

read some code somewhere about right alignment of text and have some questions: PS1="`printf "%${COLUMNS}s\n" "${TEXT}"`$PS1" what are the backticks doing? why ...
ablrbls072's user avatar
0 votes
2 answers
42 views

PS1R not aligning correctly

I am writing a script to construct my bash prompt but the right side prompt is printing an extra character (one that belongs at the beginning of the left side of the prompt) at the very end of the ...
ablrbls072's user avatar
1 vote
1 answer
369 views

Bash and True Color

I am trying to construct a simple bash prompt with true colors and have tried everything with this code as follows--don't see what is the problem and need info from you scripting gurus out there :) #...
ablrbls072's user avatar
1 vote
1 answer
224 views

Shell appending unknown integer to hostname in prompt (zsh) on mac

I recently customized the prompt in my terminal to be more like the one from parrot os, which I really like. I have read over the documentation many times on how to use the markers/variables in the ...
Digital Brent's user avatar
0 votes
1 answer
218 views

What does the WinDbg command prompt indicate?

I'm using WinDbg and am wondering what the WinDbg command prompt indicates. In my case, the command prompt reads 2: kd> I assume the kd means I'm debugging in kernel-mode (as opposed to user-mode,...
Beat Nideröst's user avatar
27 votes
4 answers
19k views

CMD prompt window pops up and instantly disappears periodically

Windows 10 - Every 10 minutes or so, a command line window flashes on my computer. I'm afraid I may have been infected by something. I've been staring at the Task Manager (and process explorer) for ...
boscher50's user avatar
  • 591
1 vote
1 answer
680 views

Making zsh prompt blink

Is there a way to cause (part of) the zsh prompt to blink? I know that I can set the colours (with %F/%f) and other visual effects (such as %S/%s), but I have not found a format code for turning on ...
user1934428's user avatar
1 vote
0 answers
28 views

How can i change my microphone gain via commandline or prompt? [duplicate]

is it possible to change microphone gain via prompt/command line ? I already tried everything to change it, downloaded equalizer apo, updated drivers... i think the only way it's prompt/command line.
Thmask Ht's user avatar
1 vote
1 answer
585 views

Bash prompt: How to invert text white-on-black instead of black-on-white like tcsh

I'm a current tcsh user and have this setting in my .tcshrc file to set the prompt: set prompt="%S MBP %s %~ [\!] " My screen's text is usually black text on white brackground, but the %S ...
stackoverflowuser2010's user avatar
1 vote
1 answer
412 views

Remove new line from batch prompt

I have the following prompt: PS1="\[\033[s\033[0;0H\033[0;41m\033[K\033[1;33mCWD:\w | \d | \t | CM: \# | \V\s\033[0m\033[u\] <\[\033[0;32m\]\u@\h\[\033[0m\]>\$" Everytime I type a ...
Duarte Arribas's user avatar
1 vote
1 answer
248 views

How to customize the bash prompt in a way that doesn't squash venv

I was a long time tcsh user and I have used a custom prompt, which includes the date/time, host, and a largish path. In the past, when I've used venv, I would switch to bash first, just because ...
hepcat72's user avatar
  • 155
0 votes
1 answer
161 views

How to reference to or copy any parameter on the same command line in Powershell?

How to reference to the path parameter on same command line in Powershell? Is there a keyboard shortcut or builtin variable that allows to copy or reference to any parameter on the same command line? ...
user1250493's user avatar
2 votes
1 answer
228 views

ZSH prompt: path except current dir

Can zsh set the prompt to the whole path except the current dir? I.e. for ~/a/b/c/ to just ~/a/b/? I'm trying to get this result for ~/a/b/c with left & right prompts: c/: | ~/a/b/...
Jakub Fojtík's user avatar
0 votes
1 answer
35 views

Weird shell prompt (PS) in shell scripts running under another shell type

When I run a #!/bin/sh script containing set -o xtrace in an interactive zsh I get weird output looking like %F{red}>> %f. Obviously the PS4 of my .zshrc is used but the interpreting shell is sh....
ManuelSchneid3r's user avatar
2 votes
1 answer
436 views

PowerShell prompt color issue

I tried this: How to colorize the Powershell prompt? function prompt { $ESC = [char]27 "$ESC[46mPS $($executionContext.SessionState.Path.CurrentLocation)$('>' * ($nestedPromptLevel ...
webdev4422's user avatar
1 vote
2 answers
839 views

Git branch name is not updated on terminal prompt when checking out another git branch

I'm having this command to set prompt in Bash terminal with Git branch name: export PS1="\w $(git branch | grep '*') " It shows the correct Git branch name for the first time after running ...
Dee's user avatar
  • 641
0 votes
0 answers
172 views

Terminal color codes not working as expected

I am using the following code in my ~/.bash_profile following some online blogs. export CLICOLOR=1 export LSCOLORS=GxFxCxDxBxegedabagaced export TERM="xterm-color" export PS1='\[\033[1;32m\]$...
WiggidyMiggidyMcDaddy's user avatar
0 votes
1 answer
670 views

tmux prompt misaligned in intellij terminal window

Why is it misaligned? I also see that tmux is not honoring set -g default-shell "/bin/bash" or set-option -g default-command "reattach-to-user-namespace -l bash"
PnotNP's user avatar
  • 343
0 votes
3 answers
764 views

PowerShell replace $env:USERPROFILE in prompt

I mean to get in my PS 5.1 prompt ~\Documents instead of C:\Users\USER1\Documents But while trying one of the "building blocks" I get an error > $($executionContext.SessionState.Path....
sancho.s ReinstateMonicaCellio's user avatar
4 votes
1 answer
463 views

Interactive ZSH's command prompt to execute a ZLE command

Is there any way to interactively run a ZLE command on the current line? I am looking for a similar way to TMUX's command-prompt, which default keybinding is prefix : were you can run a TMUX command ...
Nicolas LIENART's user avatar
0 votes
1 answer
40 views

Is there a way to create a command prompt shortcut open as administrator and start in another drive and folder on that server?

I would like to create a cmd.exe shortcut that will open as administrator. I have already done this. The default place it opens is on the C:\Windows\system32. I want it to open on E:\\bin instead. ...
anonymous's user avatar
1 vote
1 answer
617 views

Windows, how to run a command that would self execute a file every 10 seconds for a duration and append all output to a log file

I need a batch script or a one liner to run an executable and append its output from console to a text file I also need this to run in a loop and dump the output every 10 seconds for a duration of 10 ...
Mi Po's user avatar
  • 127
3 votes
1 answer
139 views

Recalling last command inserts spurious character at the beginning (in Zsh)

The interactions are so complex that I don't know exactly what I'm looking for, but maybe you can still help. Sometimes, generally after an error (return code > 0), when recalling some last command, ...
user3341592's user avatar
1 vote
2 answers
1k views

Getting rid of "command not found..."

When I mistype command in terminal I got this error: bash: XX: command not found... After that, I have to wait or use keyboard interrupt before I can use prompt again. Sometimes shell offers me to ...
EFK's user avatar
  • 25
1 vote
1 answer
3k views

Is there a way to make Windows Powershell 6 my default terminal?

I downloaded pwsh 6, or pwsh core, and wanted to make it default. Currently whenever I use the shorcut for a CMD, I already get the old pwsh, but I wanted to use the new one instead. Is there anyway ...
Leonardo Oliveira's user avatar
0 votes
0 answers
1k views

after ssh connecting to ubuntu server, cannot do anything

I was working on a server I have access to for a school project, which I am not an admin of it, and everything was working fine until recently, when this suddenly began to happen after I logged in ...
L-F Bouchard's user avatar
6 votes
1 answer
2k views

What's the easiest way to prepend the current time to the fish prompt?

I'd like to see the current time in my fish prompt so that I can always see for example when I started the last command. I don't want to install extensions.
Suzana's user avatar
  • 309
1 vote
2 answers
976 views

ssh login causes repeating characters in my zsh

I am on a Mac using iTerm2 and zsh v5.7.1. When I login from my local computer to the remote computer using 'ssh', most of the characters are repeated at the prompt as I type. Clearing the line with ...
Buckley's user avatar
  • 51

1
2 3 4 5 6