Skip to content

Commit 2e00175

Browse files
authored
Merge pull request #12 from onihilist/feat/issues-templates
feat: issues templates
2 parents ab8a6ba + d352ac2 commit 2e00175

7 files changed

Lines changed: 79 additions & 5 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug Report
3+
about: Report an unexpected behavior or issue
4+
title: "[BUG] "
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Run the command '...'
17+
3. See error '...'
18+
19+
**Expected behavior**
20+
A clear and concise description of what you expected to happen.
21+
22+
**Screenshots or Logs**
23+
If applicable, add screenshots or relevant logs to help explain your problem.
24+
25+
**Environment (please complete the following information):**
26+
- OS: [e.g. Ubuntu 22.04, Windows 11]
27+
- Shell Version: [e.g. v0.1.0]
28+
- .NET SDK Version: [e.g. 8.0.100]
29+
30+
**Additional context**
31+
Add any other context about the problem here.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: 📢 Discussions
4+
url: https://github.com/onihilist/NihilistShell/discussions
5+
about: Ask questions, share ideas, or discuss features here.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature Request
3+
about: Suggest a new feature or improvement
4+
title: "[FEATURE] "
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the feature you'd like**
11+
A clear and concise description of the feature or improvement.
12+
13+
**Why is this feature needed?**
14+
Explain the problem this feature would solve or what benefit it adds.
15+
16+
**Additional context**
17+
Add any mockups, commands, or examples if needed.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Question
3+
about: Ask a question about NihilistShell
4+
title: "[QUESTION] "
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
**Your question**
11+
Clearly state your question.
12+
13+
**What have you tried?**
14+
Briefly describe what you've already tried or searched for.
15+
16+
**Additional context**
17+
Add any relevant code snippets, references, or logs.

Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
using Spectre.Console;
1+

2+
using Spectre.Console;
23
using NihilistShell.Shell;
34
using NihilistShell.Shell.History;
45
using NihilistShell.Shell.Plugins;
56
using static NihilistShell.Animation.GlitchOutput;
67

78
public class Program
89
{
9-
public static readonly string VERSION = "v0.1.0";
10+
public static readonly string VERSION = "v0.2.1";
1011
public static readonly string GITHUB = "https://github.com/onihilist/NihilistShell";
1112

1213
public static async Task Main(string[] args)

Shell/History/HistoryManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class HistoryManager
1818

1919
public HistoryManager(string? path = null)
2020
{
21-
_historyPath = path ?? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nihilist_history");
21+
_historyPath = path ?? Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".nihilist_shell/.nihilistshell_history");
2222
Load();
2323
}
2424

install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,20 @@ fi
2828

2929
USER_PROFILE=$(eval echo ~$USER)
3030
NIHILIST_SHELL_DIR="$USER_PROFILE/.nihilist_shell"
31+
HISTORY_FILE="$NIHILIST_SHELL_DIR/.nihilistshell_history"
3132
THEMES_DIR="$NIHILIST_SHELL_DIR/themes"
3233
PLUGINS_DIR="$NIHILIST_SHELL_DIR/plugins"
3334

34-
echo "[*] - Creating directories if they don't exist..."
35+
echo "[*] - Creating directories/files if they don't exist..."
3536

3637
mkdir -p "$THEMES_DIR"
3738
mkdir -p "$PLUGINS_DIR"
39+
touch "$HISTORY_FILE"
3840

39-
echo "[+] - Directories created or already exist: "
41+
echo "[+] - Directories/Files created or already exist: "
4042
echo " - $THEMES_DIR"
4143
echo " - $PLUGINS_DIR"
44+
echo " - $HISTORY_FILE"
4245

4346
echo "[*] - Compiling NihilistShell..."
4447
dotnet publish NihilistShell.csproj \

0 commit comments

Comments
 (0)