Skip to content

scaryrawr/sl

Repository files navigation

SL(1): Cure your bad habit of mistyping

SL (Steam Locomotive) runs across your terminal when you type "sl" as you meant to type "ls". It's just a joke command.

Copyright 1993,1998,2014 Toyoda Masashi ([email protected])

Terminal Demo

Installation

macOS and x64 Linux

Using homebrew:

brew install scaryrawr/formulae/sl

Fedora Linux

Using copr:

sudo dnf copr enable scaryrawr/sl
sudo dnf install sl

Windows

Using winget:

winget install scaryrawr.sl
# Override sl alias which was (Set-Location)
echo 'Set-Alias -Name sl -Value "C:\Program Files\sl\bin\sl.exe" -Force' >> $profile
Set-Alias -Name sl -Value "C:\Program Files\sl\bin\sl.exe" -Force

From source:

git clone https://github.com/scaryrawr/sl
cd sl
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="$VCPKG_ROOT\scripts\buildsystems\vcpkg.cmake"
cmake --build . --config Release
sudo cmake --install .

Packages

No packages published

Languages

  • Rust 62.6%
  • JavaScript 23.9%
  • PowerShell 4.3%
  • Shell 2.7%
  • CMake 2.2%
  • Elvish 2.0%
  • Other 2.3%