We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cac661 commit 873d690Copy full SHA for 873d690
1 file changed
js/script.js
@@ -2,8 +2,9 @@ console.log("Welcome to the shell!")
2
window.onload = function () {
3
this.username = "username"
4
this.hostname = "hostname"
5
+ this.workingDirectory = "~"
6
document.getElementById("shellinput").value = "";
- document.getElementById("uname-hname").innerText = `${username}@${hostname}`
7
+ document.getElementById("uname-hname").innerText = `${username}@${hostname}:${workingDirectory}$`
8
}
9
10
const commands = [
0 commit comments