Update README.md

This commit is contained in:
Narsty
2023-07-15 10:44:25 -05:00
committed by GitHub
parent 538a98d1e5
commit ee0f39b1a9
+4 -4
View File
@@ -85,18 +85,18 @@ If you're a visual learner like me, check out this detailed tutorial by [wrencha
<img alt="Coding" width="320" height="5" src="https://media.giphy.com/media/9JxkPTP3alOykb8PmQ/giphy.gif">
<p>When working with the scripts, make sure to carefully read the REM (remark) lines. REMs explain the purpose of each line or provide instructions to the user. It's crucial to always read and understand the REMs!</p>
<h4>The VendorID and ProductID Combination</h4>
<h4>🔹The VendorID and ProductID Combination</h4>
<img alt="Coding" width="320" height="5" src="https://media.giphy.com/media/9JxkPTP3alOykb8PmQ/giphy.gif">
<pre><code>'ID 05ac:021e Apple:Keyboard'</code></pre>
<p>This code helps the operating system identify the specific device (in this case, the Flipper Zero) and load the appropriate drivers or configurations, such as for an Apple keyboard.</p>
<h4>The 'ignorespace' Option</h4>
<h4>🔹The 'ignorespace' Option</h4>
<img alt="Coding" width="320" height="5" src="https://media.giphy.com/media/9JxkPTP3alOykb8PmQ/giphy.gif">
<pre><code>'echo -e "export HISTCONTROL=ignorespace\nunset HISTFILE" >> ~/.bashrc && source ~/.bashrc && exec bash'</code></pre>
<p>This code enables the 'ignorespace' option for the command history, preventing commands with a leading space from being stored in the shell history. Special thanks to <a href='https://github.com/FalsePhilosopher'>FalsePhilosopher</a>
for helping create this string!</p>
<h4>Removing Specific Commands from History</h4>
<h4>🔹Removing Specific Commands from History</h4>
<img alt="Coding" width="320" height="5" src="https://media.giphy.com/media/9JxkPTP3alOykb8PmQ/giphy.gif">
<pre><code>history -d $(history | tail -n 2 | head -n 1 | awk '{ print $1 }')</code></pre>
<p>This code removes the specific command from the history, ensuring minimal traces are left behind and helping maintain discretion and privacy.</p>
@@ -117,7 +117,7 @@ If you're a visual learner like me, check out this detailed tutorial by [wrencha
<h1
align="center"><u>Support Narstybits <img src="https://media.giphy.com/media/3oKIPic2BnoVZkRla8/giphy.gif" alt="Giphy Image" style="margin-left: 10px; width: 50px; height: auto;" align="center">
align="center"><u>🔹 Support Narstybits 🔹
</div>