Skip to content

Commit

Permalink
Use gdb-dashboard instead of pwndbg
Browse files Browse the repository at this point in the history
  • Loading branch information
yous committed May 13, 2024
1 parent 6f0b2fb commit fb15ff5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[submodule "pwndbg"]
path = pwndbg
url = https://github.com/pwndbg/pwndbg.git
[submodule "gdb-dashboard"]
path = gdb-dashboard
url = https://github.com/cyrus-and/gdb-dashboard.git
[submodule "tpm"]
path = tpm
url = https://github.com/tmux-plugins/tpm.git
1 change: 1 addition & 0 deletions gdb-dashboard
Submodule gdb-dashboard added at b96e42
1 change: 1 addition & 0 deletions gdbinit.d/init
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dashboard -style discard_scrollback False
8 changes: 2 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ usage() {
echo ' formulae Install Homebrew formulae using Brewfile'
echo ' mise Install mise'
echo ' n Install n'
echo ' pwndbg Install pwndbg'
echo ' pyenv Install pyenv with pyenv-virtualenv'
echo ' rbenv Install rbenv'
echo ' ruby-install Install ruby-install'
Expand Down Expand Up @@ -135,6 +134,8 @@ install_link() {
replace_file "$FILENAME"
done
replace_file 'bat/config' '.config/bat/config'
replace_file 'gdb-dashboard/.gdbinit' '.gdbinit'
replace_file 'gdbinit.d'
if [ "$(uname)" = 'Darwin' ]; then
replace_file 'lazygit/config.yml' 'Library/Application Support/lazygit/config.yml'
else
Expand Down Expand Up @@ -202,11 +203,6 @@ case "$1" in
curl -L https://bit.ly/n-install | N_PREFIX="$HOME/.n" bash -s -- -y
fi
;;
pwndbg)
init_submodules
cd "${DIR}/pwndbg"
./setup.sh
;;
pyenv)
if [ "$(uname)" = 'Darwin' ]; then
brew install pyenv
Expand Down
1 change: 0 additions & 1 deletion pwndbg
Submodule pwndbg deleted from 71c4e1

0 comments on commit fb15ff5

Please sign in to comment.