Commit 0a47ec51 authored by Brian Ballsun-Stanton's avatar Brian Ballsun-Stanton Committed by François Michonneau

Editing getsql to prepend winpty as alias

parent fbf5d919
......@@ -7,9 +7,11 @@ elif command -v unzip >/dev/null 2>^1 ; then
mkdir -p ~/bin
curl https://www.sqlite.org/2019/sqlite-tools-win32-x86-3270200.zip > sql.zip
unzip sql.zip
mv sqlite-tools-win32-x86-3270200/* ~/bin/
mv sqlite-tools-win32-x86-3270200/* ~/bin/
rm -rf sqlite-tools-win32-x86-3270200
echo 'export PATH="$PATH:$HOME/bin"' >> .bash_profile
echo 'alias sqlite3="winpty sqlite3"' >> .bash_profile
echo 'alias nano="winpty nano"' >> .bash_profile
source .bash_profile
sqlite3 --version
# 3.27.2 2019-02-25 16:06:06 bd49a8271d650fa89e446b42e513b595a717b9212c91dd384aab871fc1d0f6d7
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment