Skip to content

20-1-SKKU-OSS/2020-1-OSS-11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2020-1-OSS-11

Project : The Fuck

Original project : https://github.com/nvbn/thefuck

The Fuck is a magnificent app, inspired by a @liamosaur tweet, that corrects errors in previous console commands.

texture theme preview

More examples:

➜ apt-get install vim
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

➜ fuck
sudo apt-get install vim [enter/↑/↓/ctrl+c]
[sudo] password for nvbn:
Reading package lists... Done

Team Members

권태완 (Team Leader)

김민철

안영태

인진영

조건희

  • Github ID: Jokuna

Contribution

Add New Rules

  • "nvm" command rule
  • "gcc" command rule
  • "nvm install" command rule
  • "head" and "tail" command rule
  • "cat" command rule

Fix Bug Issues

  • Resolve an issue about "dirs" command
  • Modification code for "dirs" command
  • Resolve an issue about "free" command

Static Page

https://20-1-skku-oss.github.io/2020-1-OSS-11/

Requirements

  • python (3.4+)
  • pip
  • python-dev

Installation

On OS X, you can install The Fuck via [Homebrew][homebrew] (or via [Linuxbrew][linuxbrew] on Linux):

brew install thefuck

On Ubuntu / Mint, install The Fuck with the following commands:

sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefuck

On FreeBSD, install The Fuck with the following commands:

pkg install thefuck

On ChromeOS, install The Fuck using chromebrew with the following command:

crew install thefuck

On other systems, install The Fuck by using pip:

pip install thefuck

Alternatively, you may use an OS package manager (OS X, Ubuntu, Arch).

# It is recommended that you place this command in your .bash_profile, .bashrc, .zshrc or other startup script:

eval $(thefuck --alias)
# You can use whatever you want as an alias, like for Mondays:
eval $(thefuck --alias FUCK)

Or in your shell config (Bash, Zsh, Fish, Powershell, tcsh).

Changes are only available in a new shell session. To make changes immediately available, run source ~/.bashrc (or your shell config file like .zshrc).

To run fixed commands without confirmation, use the --yeah option (or just -y for short, or --hard if you're especially frustrated):

fuck --yeah

To fix commands recursively until succeeding, use the -r option:

fuck -r

Releases

No releases published

Packages

No packages published

Languages