Skip to content
This repository was archived by the owner on Feb 21, 2021. It is now read-only.

Commit 45c9e73

Browse files
author
Tiger Sachse
committed
Merge pull request #23 from tgsachse/v1.2.0
final build of version 1.1.2
2 parents da6dbad + 8c464bc commit 45c9e73

13 files changed

+284
-232
lines changed

debian/control

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Package: shellcuts
2+
Version: 1.1.2
3+
Section: utils
4+
Depends: python3
5+
Architecture: all
6+
Priority: optional
7+
Maintainer: Tiger Sachse
8+
Homepage: https://www.github.com/tgsachse/shellcuts
9+
Description: directory shortcuts for your shell
10+
See the manpage for more information.

debian/postinst

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Part of Shellcuts by Tgsachse.
2+
sc --init

docs/CHANGES.txt

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
Changelog for Shellcuts
22

3+
v1.1.2 - 01/28/2018
4+
- Removed PyPI support
5+
- Added deb support and deb packaging tools
6+
- Improved initialization experience
7+
- Changed user shellcut save dir to .config/shellcuts
8+
- Create .bashrc if one does not exist
9+
- Added version and help commands
10+
- Added initialization command
11+
312
v1.1.1 - 01/08/2018
4-
- Added manual page
13+
- Added Man page
14+
- Created separate PyPI page
515

616
v1.1.0 - 01/03/2018
717
- Renamed to Shellcuts for universality

docs/META.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
AUTHOR: Tiger Sachse
2+
LICENSE: GPLv3
3+
VERSION: 1.1.2
4+
INITIAL RELEASE: 12/31/2017
5+
CURRENT RELEASE: 01/28/2018

docs/PYPI_DESCRIPTION.txt

-1
This file was deleted.

docs/README.rst

+5-7
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ installation
2121

2222
Shellcuts is meant to be easy to install--use any of the following methods. You need the latest version of `Python 3`_ installed for it to work!
2323

24-
**METHOD 1:** Install with Pip_
25-
26-
If you have pip3 installed, run this command to install Shellcuts:
24+
**METHOD 1:** Install with wget and dpkg
25+
If you use a Debian-based machine (Ubuntu, Linux Mint, Debian, etc) then this method will work until APT support is added. Run the following command:
2726
::
28-
$ sudo pip3 install shellcuts
27+
$ dunno yet will add soon
2928

3029
**METHOD 2:** Install with APT_ (PLANNED)
3130

@@ -48,10 +47,9 @@ If, for whatever reason, the other methods don't work for you or maybe just aren
4847

4948
usage
5049
-----
51-
When you first install Shellcuts, you must initialize the program once before it can be used. Run this command to launch the configuration utility:
50+
The configuration utility that runs during installation can automatically configure your system, or if you'd prefer it can show you how to do the configuration manually. It's highly recommended that you use the automatic configuration, as it's safe from human error and is really easy! If you want to re-run the configuration utility, use this command:
5251
::
53-
$ sc-init
54-
The configuration utility will automatically configure your system, or if you'd prefer it can show you how to do the configuration manually. It's highly recommended that you use the automatic configuration, as it's safe from human error and is really easy!
52+
$ sc --init
5553

5654
The core command for Shellcuts is ``sc`` and by default this program includes the aliases:
5755

docs/shellcuts.1

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH shellcuts 1 "8 January 2018" "1.1.1"
1+
.TH shellcuts 1 "16 January 2018" "1.1.2"
22

33
.SH NAME
44
shellcuts - directory shortcuts for your shell.
@@ -60,18 +60,18 @@ create a new shellcut for the current working directory
6060
print the specified shellcut to the screen
6161
.RE
6262
.PP
63-
.B -v, --version:
63+
.B --version:
6464
display version information
6565
.RE
6666
.PP
6767
.B --enable-bashmarks-syntax, --disable-bashmarks-syntax
6868
.RS 4
69-
enable or disable Bashmarks syntax (default: enabled)
69+
enable or disable Bashmarks syntax (default: enabled) [PLANNED]
7070
.RE
7171
.PP
7272
.B --enable-z, --disable-z
7373
.RS 4
74-
enable or disable z-like features (default: enabled)
74+
enable or disable z-like features (default: enabled) [PLANNED]
7575
.RE
7676
.PP
7777
.B --init
@@ -80,14 +80,12 @@ launch the initialization script
8080
.RE
8181

8282
.SH USAGE
83-
When you first install Shellcuts, you must initialize the program once before it can be used. Run this command to launch the configuration utility:
83+
The configuration utility that runs during installation can automatically configure your system, or if you'd prefer it can show you how to do the configuration manually. It's highly recommended that you use the automatic configuration, as it's safe from human error and is really easy! If you want to re-run the configuration utility, use this command:
8484
.PP
8585
.RS 2
86-
.I sc-init
86+
.I sc --init
8787
.RE
8888
.PP
89-
The configuration utility will automatically configure your system, or if you'd prefer it can show you how to do the configuration manually. It's highly recommended that you use the automatic configuration, as it's safe from human error and is really easy!
90-
.PP
9189
The core command for Shellcuts is
9290
.I sc
9391
and by default this program includes the following aliases:

make_deb.sh

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Part of Shellcuts by Tgsachse.
2+
# Builds the Shellcuts .deb package.
3+
4+
mkdir -p shellcuts/DEBIAN
5+
mkdir -p shellcuts/usr/bin
6+
mkdir -p shellcuts/usr/share/doc/shellcuts
7+
mkdir -p shellcuts/usr/share/man/man1
8+
mkdir -p shellcuts/usr/share/shellcuts
9+
10+
cp docs/CHANGES.txt shellcuts/usr/share/doc/shellcuts
11+
cp docs/LICENSE.txt shellcuts/usr/share/doc/shellcuts
12+
cp docs/README.rst shellcuts/usr/share/doc/shellcuts
13+
cp docs/META.txt shellcuts/usr/share/doc/shellcuts
14+
cp docs/shellcuts.1 shellcuts/usr/share/man/man1
15+
16+
cp source/bin/sc shellcuts/usr/bin
17+
cp source/bin/sc-handler shellcuts/usr/bin
18+
cp source/share/shellcuts.sh shellcuts/usr/share/shellcuts
19+
20+
cp debian/control shellcuts/DEBIAN
21+
cp debian/postinst shellcuts/DEBIAN
22+
23+
dpkg --build shellcuts
24+
25+
rm -r shellcuts/

setup.py

-60
This file was deleted.

shellcuts/sc-handler

-113
This file was deleted.

0 commit comments

Comments
 (0)